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

Error: Destroying assets is not permitted to avoid data loss #8

Open
founderio opened this issue Sep 17, 2016 · 3 comments
Open

Error: Destroying assets is not permitted to avoid data loss #8

founderio opened this issue Sep 17, 2016 · 3 comments

Comments

@founderio
Copy link

Loading Spriter2UnityDX in Unity 5.4.1f1 throws this error message when selecting & de-selecting the Settings.asset:

Destroying assets is not permitted to avoid data loss.
If you really want to remove an asset use DestroyImmediate (theObject, true);
UnityEngine.Object:DestroyImmediate(Object)
Spriter2UnityDX.SettingsEditor:OnDisable() (at Assets/Spriter2UnityDX/Editor/S2USettings.cs:32)
@Dharengo
Copy link
Owner

Weird, maybe 5.4 changed how DestroyImmediate works?

@attilix
Copy link

attilix commented Feb 18, 2017

The same error occurs to me in Unity 5.5 , and no prefab will be created after I try to import the Spriter`s project into Unity

@CarlosHBP
Copy link

I'm using Unity 5.6.1f and this message shows sometimes after delete prefabs/animations.
I doing this all time, testing animations.
Sometimes reimport scml doesn't recreate the prefabs, but I just delete scml file and reimport a second time and works!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants