overte
overte copied to clipboard
Assertion error applying a material to a model
When I try to apply a material to a specific model, the game crashes with an assert error. This was attempted on current master.
[FATAL] [default] ASSERT: "instance && instance->parent()" in file /home/adragon/Documents/Git Repos/overte/libraries/graphics-scripting/src/graphics-scripting/GraphicsScriptingUtil.h, line 55
Aborted (core dumped)
Model URL: https://files.adragon.dev/Overte/Map/map1.glb
I tested this on the latest release, and applying a material to this model works without issue.
Releases are built without asserts enabled, so unless you built the release from source yourself, it makes sense that it doesn't run into that issue. Of course asserts exist for a reason and they still usually indicate a bug. My understanding is that only Debug builds contain asserts.
same issue as #1097