Search Issue Tracker

Fixed in 2020.1.X

Fixed in 2019.3.X



Found in



Issue ID




'Selected texture format 'ARGB 16 bit' is not valid' error is shown after manually baking shadowmask

Global Illumination


Steps to repro:
1. Open the attached project and 'ProgressiveLightmappingExample' scene;
2. In the Lighting window press 'Generate Lighting' button.

Expected result:
Lighting is baked without errors.

Actual result:
Following error is shown:

"Selected texture format 'ARGB 16 bit' for platform 'DefaultTexturePlatform' is not valid with the current texture type 'Default'.
0x00007FF6AE31C23C (Unity) StackWalker::GetCurrentCallstack
0x00007FF6AE31F711 (Unity) StackWalker::ShowCallstack
0x00007FF6ACBCF035 (Unity) GetStacktrace
0x00007FF6AEEBC27D (Unity) DebugStringToFile
0x00007FF6AC4383F3 (Unity) TextureImporter::CheckTextureFormatValue
0x00007FF6AC44ACBF (Unity) TextureImporter::SetPlatformTextureSettings
0x00007FF6AEC281BF (Unity) SetTextureImporterSettings
0x00007FF6AEC2690E (Unity) MoveTextureSnapshotsToAssetsFolder
0x00007FF6AEC25328 (Unity) WriteLightingDataAssetJob::Integrate
0x00007FF6AC7EEC16 (Unity) JobManager::IntegrateCompletedJobs
0x00007FF6AEB944D4 (Unity) GISceneManager::Update
0x00007FF6AEB914B5 (Unity) `GISceneManager::GISceneManager'::`2'::tickGIInEditorRegistrator::Forward
0x00007FF6ABBC5419 (Unity) CallbackArray::Invoke
0x00007FF6AC3487EF (Unity) ProfilerCallbackInvoke<CallbackArray,281736>::Invoke
0x00007FF6AC354923 (Unity) Application::TickTimer
0x00007FF6ACBD6555 (Unity) MainMessageLoop
0x00007FF6ACBD8F8F (Unity) WinMain
0x00007FF6AF855512 (Unity) __scrt_common_main_seh
0x00007FFBF7FC3034 (KERNEL32) BaseThreadInitThunk
0x00007FFBFA9B1471 (ntdll) RtlUserThreadStart"
See attached vide and Editor.log.

Regression introduced in 2019.2.0a11.

- Reproducible in 2019.3.0a1. 2019.2.0a11, 2019.2.0a11;
- Not reproducible in 2019.2.0a10, 2019.1.0f1,
- Reproducible on Windows and OSX;
- Reproducible when baking lighting manually; not reproducible when auto-baking lighting;
- Reproducible only with Shadowmask light mode; not reproducible with Subtractive and Baked Indirect.
- Reproducible when baking with either CPU and GPU PLM and Enlighten.

Comments (13)

  1. 55e8c1bd324cc7fe77f4cc7f8848bbe7?d=mm


    Aug 23, 2019 16:35

    Reproducible in 2019.2.2f1

  2. 8514f3a8a5cdb50dc5f406cfb2b5128f?d=mm


    Aug 01, 2019 05:58

    I found out this only happens when "Compress Lightmaps" option is true

  3. Ac972dc5d073af7018450b62b8cc3bbe?d=mm


    Jun 14, 2019 19:31

    Reproducible in 2019.2.0b2

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.