[Bug]: Material Library Crashes Studio If Switching Away from 3D Model in Asset Preview Or Deleting a 3D Model in Scene
dinomut1 opened this issue Β· comments
David Gordon commented
Version
08c3b70(1.6.0)
Operating Systems
- macOS
- Windows
- Linux
- Android
- IOS
Browser (if applicable)
No response
What is supposed happened?
If the material library is open while a model is deleted, it should reactively display that model's material entries being cleared from the library
What happened?
If the material library is open, and the asset preview changes from a 3d model to something else, it causes the engine to crash:
Screencast from 03-26-2024 06:34:49 PM.webm
This behavior also occurs if the material library is open and a 3d model is deleted from the scene
Steps to reproduce
1. In the studio, select the material library panel
Crash from Asset Preview
2. Select a 3D model in the file browser to trigger loading it
3. Select a different asset in the file browser
4. Engine crashes
Crash from Deleting Model
2. Select a model in the scene and delete it
3. Engine crashes
Relevant Info
No response