I found very strange problem with multi line comments, code like this cause crashes on iOS (android, html5 and mac works fine)
ERROR:GAMEOBJECT: Error running script: main/init.script:3: nesting of [[…]] is deprecated near ‘[’
--[[
line 1
--[[
test 2
--]]
In the editor code looks good: