Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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 /
avatar image
0
Question by Zamaroth · May 26, 2013 at 08:21 PM · crashcustom editorcustom inspector

Custom Editor has stopped working

Hi. Yesterday I started learning how to create custom editor in inspector. It was going well, until about an hour ago, when my Unity crashed. It crashed when I changed a rectangle width of the IntSlider(don´t know why). Since then my custom inspector doesn´t even show(the script uses the default inspector design). I tried to fix it. I also tried creting a new editor script in new project and restarting Unity, but it still doesn´t work. Any ideas how to fix this? Thanks

Comment
Add comment · Show 4
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 numberkruncher · May 26, 2013 at 08:26 PM 0
Share

Do any error messages appear in the console window when attempting to select an object which should be using your editor?

avatar image Zamaroth · May 26, 2013 at 08:33 PM 0
Share

No, it acts like there is no editor script

avatar image numberkruncher · May 26, 2013 at 08:51 PM 0
Share

Could you paste your editor script using gist.github.com (or the like)? Very hard to diagnose without any code :)

avatar image Zamaroth · May 26, 2013 at 09:13 PM 0
Share

Here it is, but I don´t think it will help, because it was working perfectly until Unity has crashed. The crash appeared when I changed rectangle position x (line 100) from 30 to 33.

Code Here

1 Reply

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

Answer by Zamaroth · May 26, 2013 at 10:47 PM

Ok, thanks for responses. I solved the problem. I seems like the editor script got corrupted or something after crash. I made a new editor script and copy/pasted my script. Other editor scripts didn´t work, because I didn´t know that the class name must me the same as the name of the editor script.

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 numberkruncher · May 26, 2013 at 10:51 PM 0
Share

Awesome, I am glad that you managed to resolve the issue :)

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

14 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

Related Questions

Can you have a Vector3 variable with rotation controls similar to a Transform? 0 Answers

Custom Inspector "Multi-object editing not supported" 4 Answers

Large sprite display in inspector 0 Answers

Custom Editor and OnSceneGUI 1 Answer

Custom Inspector: For every new element in one array create a brand new array? 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