Thanks for posting it, it is a lot more reduced. I wasn’t able to get it to turn white for me on my devices at the moment.
I can’t look at it in depth right now, but can come back to it another time if we do bug fixes. Though I can see it’s interrupting your project, and I can understand it’s pretty frustrating.
The next step to try would be:
- Keep removing blocks of code until it stops turning blank.
- maybe try removing all the Save Input blocks from Purchase and see if it stops turning blank. Then we will know that it might be something to do with the Save Input blocks.
I’ve disabled the crate for now
I’ll try what you suggested
Oh! The bug isn’t created by the crate, when I go to “SH - Shop” it does it after 5 seconds of doing nothing.
Oh that’s helpful to know — I wonder if it might be to do with changing scenes. We did a player update for the TestFlight beta testing, but all recent projects will have the new player.
In your first scene, can you change the “When game starts > Change Scene to SH - Shop” to “When device is tapped > Change Scene to SH Shop”?
Then tap the device and we can see if it always turns blank, a few seconds after changing scenes.
It just went white straight away?
This happened to me when I had advanced mode. The scene block and scenes are super buggy. When I used them certain this became unable to be tapped. I just learned not to use scenes.
Projects are white by default when there’s no code to change the color of anything. See if the tap rule works. If not, then your project did crash.
The bug happened due to clones, I made the buttons clone when they were tapped. Sorry!
Oh no, that’s not good — this is a problem from the beta testing we are doing for the next update. We will need to fix it.
Can you describe a bit further what you mean by scenes being super buggy? Is it the project going white, or certain things don’t change scene when they’re tapped?
I’m glad you got the game working again, but it still seems like there is a bug with Hopscotch so I think it’s worth investigating still.
Which part of the code did you change to fix it? (Can you share a screenshot of the clone code if that’s ok?)
i dont know the details of the bug rapterdragon had, but im guessing it’s an overclone issue - when changing a scene,
When Game Starts containers are run, and if there’s a
Create a Clone of This Object block, the game will exponentially clone objects until a point where the device is running out of RAM or something and will white screen. You can reproduce that simply by putting
Repeat Forever: Create a Clone of This Object in any projects and if you dont have a good device , fps will drop dramatically and then hopscotch will white screen .
the fix im telling everybody is to put the following code in every of your
when game starts container:
When Game Starts Check Once if: Clone Index = 0 and (Self)RunOnce = 0 Set (Self)RunOnce to 1 // your code here End End
(Self)RunOnce is an object variable)
this slightly long code will act as a When Scene Starts container
not an ipad pro or a computer - not an advanced device in other words ↩︎
I don’t have it. I updated yesterday at 6:00pm.
Thanks a lot for the info, that’s really helpful to know.
Just to check, has this been an issue just in the past few weeks, or was it happening before that? (I am trying to see if it is due to the changes in webplayer 2.1.2 / 2.1.3, or it was from before that)
to my knowledge this was always an issue, so probably before when i joined (sept 2020)
For example of I had a button in my game and I changed the scene in game and then I changed back to the scene with the button the button wouldn’t be able to be tapped any more.
i bet half of my seed (555) that this is not a hopscotch bug and that it’s just an overclone bug
send a link and ill be able to fix that issue
This is an old project so it’s very messy Lol
I was just looking into this but couldn’t get the screen to go white. I might need some more information:
- what device and iOS version are you on?
And just to check, is it this button?
ill make a bug video when I have time. I’m really time chucked with school and after school things.