Jump to content

SpriterDotNet.Unity is not importing correctly in Unity 2020


Recommended Posts

Hi, when i import the SpriterDotNet.Unity.unitypackage, some warnings messages appear in console:

- Script 'Animator' has the same name as built-in Unity component. AddComponent and GetComponent will not work with this script.
- Assets\SpriterDotNet\SpriterImporter.cs(114,70): warning CS0618: 'ReplacePrefabOptions' is obsolete: 'This has turned into the more explicit APIs, SavePrefabAsset, SaveAsPrefabAsset, SaveAsPrefabAssetAndConnect'
- And 3 similar warnings messages to the previous line...

Then, when I imported the folder with the SpriterPro project (images and the .scml file), I noticed that the animation was not generated, only the prefab of the entity.
Is there any way to fix this error?

version: Unity 2020.3.36f1






Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...