Author Topic: Bug NGUI 2.6.1e unity 4.1.2f1  (Read 6447 times)

nospam94

  • Guest
Bug NGUI 2.6.1e unity 4.1.2f1
« on: May 14, 2013, 04:28:22 PM »
Hi,

unity crash with last update (NGUI 2.6.1e unity Pro 4.1.2f1)

I create a new project and import NGUI only, i load Example-1 scene for example :
So if i click on Menu -> Edit -> Graphics Emilation -> Directx7 or others Emulation, unity crash.
It works if Ngui is not in the project...

Can someone confirm (with same version both unity / Ngui)

If i export to exe, project run fine but when a leave .exe (Alt F4), it crash. (Exe was ok under unity 4.0 and NGUI 2.5.5.

After some search, pb seems coming from sprite. it's ok with label, texture but crash with sprite (even simple sprite)
« Last Edit: May 14, 2013, 05:19:11 PM by nospam94 »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Bug NGUI 2.6.1e unity 4.1.2f1
« Reply #1 on: May 15, 2013, 01:30:25 AM »
It's related to the same bug as switching build targets with a scene that has [ExecuteInEditMode] scripts.

Start a new scene before switching your graphics emulation.

nospam94

  • Guest
Re: Bug NGUI 2.6.1e unity 4.1.2f1
« Reply #2 on: May 15, 2013, 02:33:13 AM »
thanks for reply, so it is unity 4.1.2 bug. I guess the bug with leaving .exe is unity's bug too. Hope it will be quickly solved.