[Solved] Change scene screen flicker and crash
I have read a number of posts on this issue, and tried a number of the suggested fixes, but still have the same problem.
The situation is...
the actor with the change scene behaviour is activated when the player collides with it.
In previous scenes we have used attributes to change scene. Eg. If key is true change scene etc, and that worked.
We then changed the problem scene to be triggered in the same way, but still have the same issue.
I tried placing a timer around the change scene, did not work.
I downloaded the most recent build, same problem.
I have changed the scene size, as the scene is long, no go.
I see from other posts there may be a memory leak problem associated with tables, and accumulated memory usage after each change scene. Regardless, we are stuck, and unable to move forward.
Are there any other alternatives to change scene, besides using the behaviour, or has anyone found a work around?
Any suggestion much appreciated. Cheers
Comments
Any chance you can upload the project file (.zip it first) and post the download link? You can always remove assets, etc. you don't want out in the public arena. This sounds like something that could be simple to fix but could also be really complex to try and sort out over back and forth posts without seeing the file.
My guess based on your thread title would be that you have an actor on one or more scenes that is changing back to the scene that initiated the Change Scene behavior. I've seen this more than once when people had this sort of issue. But again, that's just a guess.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
I have fixed the issue. It turns out that the behaviour was not the problem, but the scene I was changing to. I used index to change to the scene after the problem scene, and it worked fine. When I opened the problem scene in the viewer all the graphic were messed up. I reloaded the scene several times with the same result. I then deleted one object at a time that had behaviour, with the same result, and in the end deleted the scene. I suspect that the problem may have occurred through copying behaviours from another actor in earlier scenes, and perhaps the background associations with the earlier scene persisted. Just speculating, but the scene was definitely the problem. Cheers. Problem solved....for me anyway
Glad you figured it out!
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User