Thanks for info, I'll try to prepare working patch.
Problem with random float value on Android
I'll be thankful about info (bug or not) with redeclared variables.
I've added the warning of hiding variables in outer scope in revision 2006.
I did not find any bug with the outer variable being accessed by mistake instead of the inner one though.
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
I can confirm that this bug wasn't caused by Angel Script. I found issue inside my C++ code and fixed it. If you can edit topic please mark it as "NOT BUG".
I've added the warning of hiding variables in outer scope in revision 2006.
Thanks for it and all your help.
I'm glad you found the root cause. These intermittent problems can be a real pain to find, more so in your case since it only showed itself on Android devices.
Thanks for confirming that it wasn't a bug in AngelScript.
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game