I'm currently trying to implement the benchmarks for the new bindings. But a lot of calls crash.
I noticed that the cause was when I am trying to use a Godot Object that has been created directly from Kotlin.
What is working:
-Using a CoreType coming from Godot
-Using a CoreType created in Kotlin
-Using an Object coming from Godot
What is not working:
-Using an Object created in Godot.
I tried several methods like:
None of them works.
It ran the debugger many times and it seems that the issue is that the ptr is never properly initialized.
When it's sent to Godot, I just get a segfault error:
I'm currently trying to implement the benchmarks for the new bindings. But a lot of calls crash.
I noticed that the cause was when I am trying to use a Godot Object that has been created directly from Kotlin.
What is working: -Using a CoreType coming from Godot -Using a CoreType created in Kotlin -Using an Object coming from Godot
What is not working: -Using an Object created in Godot.
I tried several methods like:
None of them works. It ran the debugger many times and it seems that the issue is that the ptr is never properly initialized. When it's sent to Godot, I just get a segfault error: