You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a resource that was referenced in a scene is deleted, editor cant open scene. Provide info about what could not be loaded and try to load scene anyway.
#8490
Open
RonYanDaik opened this issue
Nov 22, 2023
· 4 comments
Describe the problem or limitation you are having in your project
Sometimes I have duplicated resources due to reimports routine. When I'm trying to clean I can delete something that still is referenced while editor is closed, and then editor cant open some scenes and its hard to tell why.
Describe the feature / enhancement and how it helps to overcome the problem or limitation
When a resource that was referenced in a scene is deleted, editor cant open scene.
Provide info about what could not be loaded and try to load scene anyway.
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
Show info what variable failed to find which resource.
And allow to open scene anyway.
If this enhancement will not be used often, can it be worked around with a few lines of script?
No workaround. But a flaw that should be handled.
Is there a reason why this should be core and not an add-on in the asset library?
its edtior code.
The text was updated successfully, but these errors were encountered:
How would this work, please provide more details about this, it would require some changes to the scene, the dialog isn't lying to you, it can't be loaded, so either some content would have to be removed or it simply can't be loaded
This could be done by loading invalid data as a placeholder, or simply ignoring it
For this I'd suggest creating a copy with a new name to minimise the risk of accidentally saving it over the original
How would this work, please provide more details about this
I'm thinking about: When user presses "Load Anyway" the editors assigns missing resources to null, and prints into log what resource he was expecting at that variable.
This will allow user to fix the scene. Because it he didn't save a copy of resource he deleted he wont be able to fix this.
Generally if editor can't open something due to missing resources, you can go straight to making a bug report. Such cases should always be recoverable, the only valid case when you can't open a scene is when the scene file is corrupted or has invalid syntax.
Describe the project you are working on
3D game with meshes.
Describe the problem or limitation you are having in your project
Sometimes I have duplicated resources due to reimports routine. When I'm trying to clean I can delete something that still is referenced while editor is closed, and then editor cant open some scenes and its hard to tell why.
Describe the feature / enhancement and how it helps to overcome the problem or limitation
When a resource that was referenced in a scene is deleted, editor cant open scene.
Provide info about what could not be loaded and try to load scene anyway.
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
Show info what variable failed to find which resource.
And allow to open scene anyway.
If this enhancement will not be used often, can it be worked around with a few lines of script?
No workaround. But a flaw that should be handled.
Is there a reason why this should be core and not an add-on in the asset library?
its edtior code.
The text was updated successfully, but these errors were encountered: