After day and night of defeating modules compilation I can't start app... It drives me crazy... I'm not familiar with python and scons, so it was very hard for me to compile apks with modules. And now logcat throws me this error:
[1;31mERROR: free_static: [0m[1mCondition ' !MemoryPoolStatic::get_singleton() ' is true.
[0;31m At: core/os/memory.cpp:59.[0m
I really appreciate developers of godot engine for what they are doing. But this hell of adding custom modules totally kills the will to use godot.
full stack trace:
Android
11-07 18:02:16.368 29146-29146/cant.stop.neonbounce I/godot: )
11-07 18:02:16.368 29146-29146/cant.stop.neonbounce I/godot: -rthread <mode> : Render Thread Mode ('unsafe', 'safe', 'separate').
11-07 18:02:16.368 29146-29146/cant.stop.neonbounce I/godot: -s,-script [script] : Run a script.
11-07 18:02:16.368 29146-29146/cant.stop.neonbounce I/godot: -d,-debug : Debug (local stdout debugger).
11-07 18:02:16.369 29146-29146/cant.stop.neonbounce I/godot: -rdebug ADDRESS : Remote debug (<ip>:<port> host address).
11-07 18:02:16.369 29146-29146/cant.stop.neonbounce I/godot: -fdelay [msec]: Simulate high CPU load (delay each frame by [msec]).
11-07 18:02:16.369 29146-29146/cant.stop.neonbounce I/godot: -timescale [msec]: Simulate high CPU load (delay each frame by [msec]).
11-07 18:02:16.369 29146-29146/cant.stop.neonbounce I/godot: -bp : breakpoint list as source::line comma separated pairs, no spaces (%20,%2C,etc instead).
11-07 18:02:16.369 29146-29146/cant.stop.neonbounce I/godot: -v : Verbose stdout mode
11-07 18:02:16.369 29146-29146/cant.stop.neonbounce I/godot: -lang [locale]: Use a specific locale
11-07 18:02:16.369 29146-29146/cant.stop.neonbounce I/godot: -rfs <host/ip>[:<port>] : Remote FileSystem.
11-07 18:02:16.369 29146-29146/cant.stop.neonbounce I/godot: -rfs_pass <password> : Password for Remote FileSystem.
11-07 18:02:16.399 29146-29146/cant.stop.neonbounce I/godot: [1;31mERROR: free_static: [0m[1mCondition ' !MemoryPoolStatic::get_singleton() ' is true.
11-07 18:02:16.399 29146-29146/cant.stop.neonbounce I/godot: [0;31m At: core/os/memory.cpp:59.[0m
11-07 18:02:16.400 29146-29146/cant.stop.neonbounce I/godot: [1;31mERROR: free_static: [0m[1mCondition ' !MemoryPoolStatic::get_singleton() ' is true.
11-07 18:02:16.400 29146-29146/cant.stop.neonbounce I/godot: [0;31m At: core/os/memory.cpp:59.[0m
11-07 18:02:16.400 29146-29146/cant.stop.neonbounce I/godot: [1;31mERROR: free_static: [0m[1mCondition ' !MemoryPoolStatic::get_singleton() ' is true.
11-07 18:02:16.400 29146-29146/cant.stop.neonbounce I/godot: [0;31m At: core/os/memory.cpp:59.[0m
11-07 18:02:16.400 29146-29146/cant.stop.neonbounce I/godot: *****UNABLE TO SETUP
11-07 18:02:16.483 29146-29146/cant.stop.neonbounce E/AndroidRuntime: FATAL EXCEPTION: main
Process: cant.stop.neonbounce, PID: 29146
java.lang.RuntimeException: Unable to resume activity {cant.stop.neonbounce/org.godotengine.godot.Godot}: java.lang.NullPointerException: Attempt to invoke virtual method 'void org.godotengine.godot.GodotView.onResume()' on a null object reference
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3645)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3685)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2898)
at android.app.ActivityThread.-wrap11(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1593)
at android.os.Handler.dispatchMessage(Handler.java:105)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6541)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)