-
-
Notifications
You must be signed in to change notification settings - Fork 21.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash when unfolding image property of an ImageTexture #34482
Comments
Backtrace
|
I can no longer reproduce this problem on master. However is still exists on the 3.2 branch. Assuming we still want to solve this for 3.2, I've simplified the minimal reproduction project to this: To cause the editor to crash, simply click the The crash appears to be caused by a deleted godot/scene/resources/texture.cpp Lines 146 to 167 in 798bf90
However, I'm unable to workout what has changed on master to solve this. |
Can no longer reproduce in Godot 3.2.4 RC. Windows 10. |
Nice :) Closing as fixed then. |
Godot version:
3.2 beta 4 mono
OS/device including version:
MXLinux 64 bits
Issue description:
I had a node with a property with an ImageTexture, the image was modified in code by an editor plugin which embeds the image in the scene on save, if the image is modified while the image resource is expanded in the inspector the editor crashes.
Edit: The image was stored in the ImageTexture, not in the scene and the editor also crashed when I saved an ImageTexture with ResourceSaver as a .res file and unfolded its image property.
Steps to reproduce:
Modify image embedded in scene using a tool script while the inspector has the image resource expanded.
Minimal reproduction project:
This is the project where I found this, open GPUTilemapTest and mess around with saving, editing the map and clicking the image resource inside the map property of the tilemap in the inspector, just clicking on it after modifying the map seems to be enough to crash the editor.
GPUTilemapPlugin.zip
The text was updated successfully, but these errors were encountered: