I tried editor_ui->createObject but it crashes the game with exception access violation (EditorUI::createObject + 121 | C:\Users\aceinet\code\LevelEdit\build\bindings\bindings\Geode\GeneratedSource.cpp:10149), do I need to create an undo point (but I don't know how to do that since editor_ui->createObject does not return GameObject*) or something?
Your Question
I tried
editor_ui->createObject
but it crashes the game with exception access violation (EditorUI::createObject + 121 | C:\Users\aceinet\code\LevelEdit\build\bindings\bindings\Geode\GeneratedSource.cpp:10149), do I need to create an undo point (but I don't know how to do that sinceeditor_ui->createObject
does not returnGameObject*
) or something?