Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: sathyaraj on September 03, 2014, 10:27:57 AM
-
Hi,
I am using NGUI 3.7.0 and i am facing this strange issue in Windows phone 8 project.
When switching scenes back and forth in one scene atlas fails to load.
I have two scenes Scene A and Scene B
Scene A has AtlasA and Scene B got AtlasB
On launch Scene A loads and continuing to Scene B both atlases load fine
But When Loading Scene A from Scene B AtlasA fails to load.
I tried printing the atlas name from one UISprite of Scene A. It shows the atlas name. means its not null but it does not display.
Is there a possible way to force load an atlas.
PS : i tried different atlas sizes and texture compression with no help.
And also while debugging in Visual studio this works fine and in master build it fails to load the atlas but no exceptions whatsoever.
I need to fix this asap. Assist to fix this issue would be really great. Thanks in advance
-
I don't know what would cause this. Sounds like some issue in Unity. What version of Unity are you running? Also, you should get the latest NGUI while you're at it.
-
Using Unity 4.5.2p3.
Well got these two exceptions while scene switching
A first chance exception of type 'System.ArgumentOutOfRangeException' occurred in mscorlib.ni.dll
A first chance exception of type 'System.UnauthorizedAccessException' occurred in TestProject.DLL
An exception of type 'System.UnauthorizedAccessException' occurred in TestProject.DLL and wasn't handled before a managed/native boundary
A first chance exception of type 'System.InvalidOperationException' occurred in TestProject.DLL
An exception of type 'System.InvalidOperationException' occurred in TestProject.DLL and wasn't handled before a managed/native boundary
I could not figure out what causing these exceptions. Can these be causing NGUI Issue ?
And while doing this debug test atlas loads fine. May be because of slow excecution.
Any hints !
-
Check the call stack. The error message isn't useful without a call stack with line numbers.