Search Issue Tracker

Fixed in 5.3.5

Votes

0

Found in

5.3.0f4

Issue ID

759288

Regression

Yes

[TextureImport] Since 5.3 crashes in batch mode when importing certain textures, in ExtractMipLevel somewhere

Asset Import

-

Unity 5.3.0f2 or newer (does not repro with Unity 5.2.x)
Editor running in batchmode (does not repro in the Editor GUI)
ASTC Texture Compression (may not be related?)
A texture in the project with the following properties -- Size: Non-Power Of Two (NPOT), TextureType: "Editor GUI and Legacy" (textureType 2), TextureFormat: "Compressed" (textureFormat -1)

Repro:
The project includes 2 textures, “crash.psd”, which meets all the above requirements, and “nocrash.psd”, which is the same texture except it has been resized to be a power of two texture. (16x17 vs 16x16).

Adjust the following editor/project paths as necessary and run the following from a command prompt:
"C:\Program Files\Unity\Editor\Unity.exe" -batchmode -nographics -projectPath C:\ImportTest/ -logFile log.txt -executeMethod OculusBuildApp.SetAndroidTarget -quit

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.