overte icon indicating copy to clipboard operation
overte copied to clipboard

Assertion error applying a material to a model

Open Armored-Dragon opened this issue 7 months ago • 2 comments

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

Armored-Dragon avatar May 01 '25 09:05 Armored-Dragon

I tested this on the latest release, and applying a material to this model works without issue.

Armored-Dragon avatar May 01 '25 09:05 Armored-Dragon

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.

JulianGro avatar May 01 '25 10:05 JulianGro

same issue as #1097

HifiExperiments avatar May 29 '25 21:05 HifiExperiments