- Home /
texture import error
I'm working to a project until it give me error when i try to modify import setting of a texture. Unity crash and now give me a lot of problem. It isn't able to import some texture, i try to reimport all (2 hour to reimport all assets) but nothing. I try to delete image and reload but nothing, unity return me always error. When i try to reimport texture it give me texture import error. The problem is with when i open a specific scene (number 3). If i open the main scene (number 1) it all ok. Some idea? This is the entire error:
NullReferenceException UnityEditor.TextureImporterInspector.ApplySettingsToTexture () UnityEditor.TextureImporterInspector.ResetValues () UnityEditor.AssetImporterInspector.ApplyAndImport () UnityEditor.AssetImporterInspector.ApplyRevertGUI () UnityEditor.TextureImporterInspector.OnInspectorGUI () UnityEditor.InspectorWindow.DrawEditors (Boolean isRepaintEvent, UnityEditor.Editor[] editors, Boolean eyeDropperDirty) UnityEditor.InspectorWindow.OnGUI ()
If I play main scene seem to work... If i play child scene (number 3) seem to work and load texture correctly, but when i try to save scene give me error fatal error:
Could not allocate memory: System out of memory! Trying to allocate: 22369624B with 32 alignment. MemoryLabel: Texture Allocation happend at: Line:345 in /Applications/buildAgent/work/14194e8ce88cdf47/Runtime/Graphics/Texture2D.cpp Memory overview
[ ALLOC_TEMP_THREAD ] used: 32752B | peak: 0B | reserved: 262144B
[ ALLOC_DEFAULT ] used: 34687236B | peak: 74075890B | reserved: 268435456B
[ ALLOC_GFX ] used: 209882700B | peak: 255793540B | reserved: 268435456B Size | Num Used| Num Free| 8-15 | 0| 10| 16-31 | 0| 49| 32-63 | 1| 128| 64-127 | 1262| 28| 128-255 | 39| 3| 256-511 | 288| 2| 512-1023 | 920| 1| 1024-2047 | 272| 3| 2048-4095 | 219| 2| 4096-8191 | 233| 2| 8192-16383 | 35| 5| 16384-32767 | 15| 1| 32768-65535 | 1| 0| 65536-131071 | 7| 1| 131072-262143 | 0| 1| 262144-524287 | 2| 0| 524288-1048575| 1| 0| 1048576-2097151| 0| 3| 2097152-4194303| 57| 0| 16777216-33554431| 2| 0| 33554432-67108863| 0| 1|
Label | Allocated| Count|Largest Alloc VertexData | 2283334| 1578| 61552| Geometry | 37872| 789| 48| Texture | 207561494| 987| 22369624| Total | 209882700| 3354| N/A
[ ALLOC_TYPETREE ] used: 338100B | peak: 3498660B | reserved: 33554432B
[ ALLOC_CACHEOBJECTS ] used: 3653324B | peak: 8435064B | reserved: 33554432B
[ ALLOC_PROFILER ] used: 534140B | peak: 536700B | reserved: 16777216B
UnityEngine.Resources:LoadAssetAtPath(String, Type) tk2dEditorUtility:GetExistingIndex() (at Assets/TK2DROOT/tk2d/Editor/tk2dEditorUtility.cs:124) tk2dSpriteCollectionBuilder:RebuildOutOfDate(String[]) (at Assets/TK2DROOT/tk2d/Editor/Sprites/tk2dSpriteCollectionBuilder.cs:100) tk2dSpriteCollectionTextureWatcher:OnPostprocessAllAssets(String[], String[], String[], String[]) (at Assets/TK2DROOT/tk2d/Editor/Sprites/tk2dSpriteCollectionTextureWatcher.cs:24) UnityEditor.AssetPostprocessingInternal:PostprocessAllAssets(String[], String[], String[], String[], String[])
Help. Unity 3.5.6 on mac. All texture are 2048 compressed. In child scene I have 69 plane with texture.
Your answer
Follow this Question
Related Questions
texture import error 0 Answers
GUI Texture error. 1 Answer
Texture Discoloration Issue When Importing Into Unity 1 Answer
Problem importing "survival shooter" 0 Answers
Trouble importing Jurassic 1 Answer