Skip to content
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

Exception being thrown rendering a GameObject inside an imported Prefab #34

Open
Fydar opened this issue May 4, 2020 · 0 comments
Open
Assignees
Labels
🐛 bug Something isn't working

Comments

@Fydar
Copy link
Owner

Fydar commented May 4, 2020

I've noticed a few exceptions being thrown when I select certain objects in the object-selector in the preferences menu.

InvalidOperationException: Destroying a GameObject inside a Prefab instance is not allowed.
UnityEngine.Object.DestroyImmediate (UnityEngine.Object obj)
AssetIcons.Editors.AssetIconRenderer.RenderModel (UnityEngine.GameObject model, AssetIcons.Editors.CameraSetup style, System.Int32 width, System.Int32 height) (at Assets/AssetIcons/Editor/Scripts/AssetIconRenderer.cs:261)
AssetIcons.Editors.RenderCache.GetTexture (AssetIcons.Editors.CameraSetup cameraSetup, UnityEngine.GameObject target) (at Assets/AssetIcons/Editor/Scripts/RenderCache.cs:54)
@Fydar Fydar added the 🐛 bug Something isn't working label May 4, 2020
@Fydar Fydar self-assigned this May 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant