Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
1
Question by Yamf · Mar 11, 2017 at 09:17 PM · animationmeshsprite

anima2d SpriteMesh Editor doesn't load meshes

Hey, I have been working with anima2d since launch and had a great time so far. For some reason the sprite mesh editor today fails to open my meshes (which it did in the past) resulting in the following error: "NullReferenceException: Object reference not set to an instance of an object Anima2D.TextureEditorWindow+Styles.get_showBonesImage () (at Assets/Anima2D/Scripts/Editor/TextureEditorWindow.cs:46) Anima2D.TextureEditorWindow+Styles..ctor () (at Assets/Anima2D/Scripts/Editor/TextureEditorWindow.cs:75) Anima2D.TextureEditorWindow.InitStyles () (at Assets/Anima2D/Scripts/Editor/TextureEditorWindow.cs:154) Anima2D.TextureEditorWindow.OnGUI () (at Assets/Anima2D/Scripts/Editor/TextureEditorWindow.cs:387) Anima2D.SpriteMeshEditorWindow.OnGUI () (at Assets/Anima2D/Scripts/Editor/SpriteMeshEditorWindow.cs:191) System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)"

I haven't made any changes to the project since yesterday and even tried debugging the problem on an old version of the project in which it worked fine. I'm clueless to what might have caused this issue and would be glad for any advice.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

3 Replies

· Add your reply
  • Sort: 
avatar image
2
Best Answer

Answer by Yamf · Mar 11, 2017 at 09:42 PM

Problem solved T_T The problem was that the path in two of anima's scripts was different than in my project. A simple change of paths fixed my problem

Comment
Add comment · Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image · Mar 16, 2017 at 11:15 AM 0
Share

Can you post the fix please? I'm having the same problem.

avatar image Yamf · Mar 18, 2017 at 06:50 PM 1
Share

sorry, i don't remember the exact scripts in which this occurred. go to the console and just double click the error. this will load the scripts (2 scripts in total). now simply change the path from "Anima2D/ScriptName" to "Assets/Anima2D/Editor Default Resources/Anima2D/SpriteName" hope this helped :)

avatar image Yamf · Mar 18, 2017 at 11:26 PM 0
Share

That worked, thanks! $$anonymous$$uch Appreciated.

avatar image
0

Answer by moosefreak · Oct 20, 2017 at 06:39 AM

To anyone else having this problem, just make sure your "Editor Default Resources" folder is in the root of your Assets folder!

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image LilGames · Aug 02, 2019 at 03:18 PM 0
Share

Can you explain in more detail? There is a Resources folder in the Anima2D folder structure and I also have one in root of Assets, but the spritemesh editor is triggering a Unity internal error.

avatar image
0

Answer by Jodwig · Dec 31, 2020 at 03:16 AM

For me worked deleting "Editor Default Resources" in the Assets folder. It probably was some leftovers from the old Anima2D version.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

197 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Sprite animation cannot be play when player retry Unity 0 Answers

Hello! I'm trying to set up sprites animations 0 Answers

how to playback a sequence of mesh for a "stop motion" 0 Answers

Syncing 2D Sprite Animation 0 Answers

How to do these energy spheres 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges