Weird Bugs Nil bugs with the new version. [import]uid: 86417 topic_id: 26195 reply_id: 326195[/import]
I am getting this with storyboard transition, not sure exactly what function though:
Runtime error
?:0: attempt to index field '?' (a nil value)
stack traceback:
[C]: ?
?: in function <?:1095>
(tail call): ?
?: in function <?:1170>
?: in function <?:218>
Code works fine in 797. [import]uid: 19297 topic_id: 26195 reply_id: 106174[/import]
same error: Runtime error
?:0: attempt to index field ‘?’ (a nil value)
thx for posting [import]uid: 86417 topic_id: 26195 reply_id: 106175[/import]
Could you post the code you’re using to get that error? [import]uid: 52430 topic_id: 26195 reply_id: 106211[/import]
It happens for removeAll() and also for removeScene() if you are calling removeScene() from the same scene you are trying to remove. I was using 100ms delay for that until 812 without problem, now it needs 1000ms delay at least. [import]uid: 19297 topic_id: 26195 reply_id: 106345[/import]
@ckausik: Are you able to reproduce it using the Storyboard sample? I was having trouble. [import]uid: 52430 topic_id: 26195 reply_id: 106610[/import]
Someone reported this as a bug and i looked into it and fixed the issue, the fix should be in one of the next few daily builds [import]uid: 84637 topic_id: 26195 reply_id: 106841[/import]
Just updated to build 814, and the problem is still there.
All you have to do to reproduce it is this:
[lua] local storyboard = require( “storyboard” )
storyboard.gotoScene( “myscene” )[/lua]
Build 797 did not have this problem. I guess I can just keep installing earlier and earlier builds until I find one that doesn’t have the problem. There really needs to be better regression testing for daily builds. [import]uid: 16734 topic_id: 26195 reply_id: 106975[/import]
@KenRogoway: The bugs were fixed earlier today and should appear in the build *after* build 814 (will most-likely be 2012.815). [import]uid: 52430 topic_id: 26195 reply_id: 106986[/import]
This seems to be fixed in 815. But another storyboard bug appeared with 815 which was NEVER a problem before. In certain cases, it is transitioning back too far with Back button in my project. I am extremely tied up this week. If I get a chance, I’ll check what is actually causing this. In the meantime, I am staying back on 797. Reported problem with Facebook after 811 is another concern. [import]uid: 19297 topic_id: 26195 reply_id: 107059[/import]
@ckausik: That’s very strange, because none of the changes in 815 should affect scene transitioning—they were fixes for the removeScene() and removeAll() bugs. Are you able to reproduce the issue with the storyboard sample? [import]uid: 52430 topic_id: 26195 reply_id: 107125[/import]