Author Topic: Error adding sprites to atlas  (Read 2316 times)

nah0y

  • Sr. Member
  • ****
  • Thank You
  • -Given: 1
  • -Receive: 2
  • Posts: 430
  • \o/
    • View Profile
Error adding sprites to atlas
« 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 ()

PhilipC

  • Guest
Re: Error adding sprites to atlas
« Reply #1 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.

nah0y

  • Sr. Member
  • ****
  • Thank You
  • -Given: 1
  • -Receive: 2
  • Posts: 430
  • \o/
    • View Profile
Re: Error adding sprites to atlas
« Reply #2 on: August 17, 2012, 11:14:54 AM »
Well, I have nothing else... lol

PhilipC

  • Guest
Re: Error adding sprites to atlas
« Reply #3 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?

nah0y

  • Sr. Member
  • ****
  • Thank You
  • -Given: 1
  • -Receive: 2
  • Posts: 430
  • \o/
    • View Profile
Re: Error adding sprites to atlas
« Reply #4 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...