Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: nah0y on August 17, 2012, 10:25:10 AM

Title: Error adding sprites to atlas
Post by: nah0y on August 17, 2012, 10:25:10 AM
Hi,

Almost every time I add a sprite to my atlas, I have this error in the console :

  1. NullReferenceException: Object reference not set to an instance of an object
  2. UnityEditor.DockArea.EndOffsetArea ()
  3. UnityEditor.DockArea.OnGUI ()
Title: Re: Error adding sprites to atlas
Post by: PhilipC on August 17, 2012, 11:12:39 AM
Thats a Unity editor error and without more details could really mean anything. I've never seen this error when creating/ adding a sprite to a atlas.
Title: Re: Error adding sprites to atlas
Post by: nah0y on August 17, 2012, 11:14:54 AM
Well, I have nothing else... lol
Title: Re: Error adding sprites to atlas
Post by: PhilipC on August 17, 2012, 11:19:16 AM
Did this just recently start happening or have you had it for a while now (I know you've been using NGUI for a while so i hope it hasnt been from the start)... If its just recent have you tried the good old restart Unity?
Title: Re: Error adding sprites to atlas
Post by: nah0y on August 17, 2012, 11:24:42 AM
Héhé, I've been having this since hum... I don't know, days ? weeks ?

So I've had time to restart Unity at least a hundred of time.

It seems to appear only if I'm in the scene that uses the atlas...