I updated to this build from the last public release (2646 -> 2706) to get a bug fix associated with android sounds not stopping on screen time outs.
However, now when I change composer scenes I am getting the error below. This was working fine on my previous build.
This issue happens after the destroy scene event ( Checking with a print statement on the end of function scene:destroy( event ) )
The scene that is being called next seems to be unassociated with the crash as it happens when transitioning to many different scenes.
Any ideas what this might be?
( EDIT: This has to do with the fact that there are 2 scroll views being used in this composer scene. If I comment one out 1, therefore leaving only 1, it will no longer crash. FYI: Only a single scroll view is visible at any one time. If one is set to .visible = true, the other is set to .visible = false and disabled.)
I can’t really post code b/c it is interwoven with ton of other elements and would take me forever to isolate. However a working version of the app can be found at the link below. It crashes after tapping the main menu button “Dungeon” and then then either tapping the “Back” button or selecting a dungeon to enter.
https://play.google.com/store/apps/details?id=com.superultrahyper.gameofloot
https://itunes.apple.com/app/id1016781837
Corona Runtime Error
?:0: attempt to perform arithmetic on field ‘_scrollWidth’ (a nil value)
stack traceback:
?: in function ‘_listener’
?: in function <?:167>
?: in function <?:221>
Do you want to relaunch the project?
Yes No