I just finished converting our latest app from director and our heavily modified original coronaui to storyboard/widget libs.
Conversion was easy BUT…
Our app has gone from being rock solid to a flaky mess.
We are using build 777 right now as it appears to be the most stable. Memory issues are now worse! when running we are using ~60MB of texture instead of the previous ~38MB loading the EXACT SAME assets! Strange to say the least. All of the assets are not being freed either even though using Cider I have confirmed that there are no references to the assets at all.
We are getting errors in the createScene event calling factory functions like display.newText().
Like a HARD CODED 160 for the x value blowing up because the system says it’s a STRING!
Or a hard coded “-” for the text string blowing up because the system says it’s a NIL!
We also get bus memory errors like illegal access of location $07 and table access errors saying the var is not pointing to a table when in fact is was just pointed to one and accessed in the previous instruction.
These errors happen randomly, the code may work fine through dozens if iterations then boom it blows up or it might blow up on the first pass. I have not been able to produce a repeatable error so I have not created a bug report. With 35 years of experience programming and being a certified software tester I know if I can’t repeat it, they can’t fix it.
At this point we have gone back to the original code, waiting for a stable system to build on. I have tried 775 thru 782 and it appears 777 is the most stable. We are not using any transitions except fade in a couple places, using fade on all transitions is much more unstable. I haven’t tried any of the other transitions due to problem reports with them and objects off screen. We do have one group in one scene that is larger than the screen so I stayed away from transitions when it is involved.
Is anyone else seeing these kind of problems?
The most stable version used the following:
Corona.777
LevelHelper R2 (I think it’s R2, its the original 14 file version, I tried R3 and R8 too)
(using R8 and the latest builds broke our continous parallax as well)
No transitions at all
Runs for seconds to maybe an hour tops between crashes.
Releasing new version using corona.777 and director with our button and text libs - Rock Solid!
No leaks, but it won’t free loaded assets. Oh well, maybe next version.
[import]uid: 26049 topic_id: 24131 reply_id: 100435[/import]