BNM-Dev
BNM-Dev
Known, will be fixed in Release.
Try v2.0
> this crashes > > ```c++ > // ... > if (ImGui::Button("Change")){ > // BNM::CreateMonoString > // Mono::String::Create > Mono::String *text_placeholder = BNM::CreateMonoString("b"); > LOGI("text_placeholder %p hash: %d", text_placeholder, text_placeholder->GetHash());...
So need get crash log.
> > So need get crash log. > > they are not there, that is, they do not appear. No anr, thombstones and logcat is clear for any crash or...
I still don't recommend to use unity's methods for keyboard. Using it you became unity's hostages. I know that this looks easier, but later, with other engines this will became...
Try update BNM to v2.0.2
Even using it, calling unity/il2cpp methods outside main thread is dangerous. This method don't syncs threads. You can call some math unity methods safely, some other will crash after call.
You have own thread for imgui?
After reanalyzing il2cpp src, I see that code attaching to. I will return methods it in next patch if it really useful.