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 /
avatar image
0
Question by roamcel · Jul 02, 2011 at 12:09 PM · editorprojectorganization

Repainting while performing asset operations

I have just recently started getting this error.

Repainting while performing asset operations! UnityEditor.DockArea:OnGUI()

I am able to reproduce this while creating new folders and dragging them around, or placing as childs of other folders.

I don't think it's a "normal" error. Please give your suggestions as to what might be the cause.

Thanks.

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

5 Replies

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

Answer by roamcel · Jul 07, 2011 at 09:41 PM

Thanks for your feedback. I restarded unity and even rebooted the PC and kept getting the error, then I reorganized my folders some more, and suddenly the problem stopped happening. Sadly I could not tell which folder or file was causing the error.

It is likely that unity didn't like some of the drag & dropping (exclusively done through unity and never in the windows filesystem), and luckily it's gone.

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 roamcel · Aug 04, 2011 at 06:55 AM 0
Share

I believe I've found the cause for the error. I use FBX meshes from blender and create prefabs from those. Deleting the FBX as a model, and then accessing the prefab and doing something to it, but only very rarely, has triggered the error again. I believe the message pops up when you access a prefab that derives from a missing mesh (but this does not happen regularly). In any manner, to solve the problem you need to access the prefab and delete its compromising source and recreate it.

avatar image
1

Answer by Graham-Dunnett · Jul 02, 2011 at 08:59 PM

You are right that this is not a "normal" error. The project window is implemented using the GUI functions that you know and love. So, it has an OnGUI() function. Inside this OnGUI the code has spotted that the Asset Database is locked. Most operations that work on the database lock the database, do their work, and then unlock it. So, my guess is that somehow an operation on the database has gone wrong and the database is not unlocked. (Are you doing any editor scripting?) Does the problem persist if you quit from Unity and re-open your project?

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
avatar image
0

Answer by Grady · Jul 02, 2011 at 01:55 PM

You wouldn't by any chance be running unity on Wine on Linux would you??? Because similar errors have happened on linux....

Anyway, "Repainting while performing asset operations! UnityEditor.DockArea:OnGUI()" this sounds like it might be an error that has happened from importing assets or something.... :/ you said you keep getting it.. Have you tried restarting unity???

Hope this helps

-Grady

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
avatar image
0

Answer by oktarb · Nov 06, 2012 at 08:36 PM

I had moved 2 scenes into a scene folder. This caused the error for me. moving them out rectified it.

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
avatar image
0

Answer by triff · Nov 07, 2012 at 12:53 PM

Just had this problem myself, I only had a couple of local changes so it was easy to spot. I had a .max file which had been accidentally saved within the project (I only ever export .fbx to Unity) and the file only had a spline in it, afaik Unity would see this as an empty file, this file did exist on the Asset Server but I was the only one with 3dsMax so nobody else had the same error. Anyways, I deleted it and the error went away after a restart.

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

6 People are following this question.

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

Related Questions

Unity Editor closes when loading my project 1 Answer

Network View and Networking script crash 0 Answers

After Opening project in Unity Editor the mouse stops working,Just after opening the project in Unity Editor the mouse stops moving on the screen 0 Answers

Unity Package Manager Failed to resolve packages: "zlib: incorrect data check" 0 Answers

Sharing a project isn't working... how to fix? 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