Multi line comments cause crash on ios


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:


Nested block comments are not allowed in Lua. See

We are running LuaJIT on many platforms and it might behave differently.


Ok, I understand. But it very strange, that it’s fail only on iOS o_O


Well, we currently don’t run LuaJIT on iOS.