Jump to content

Installation / import Support - Gaia 2021


dENIZAC
 Share

Go to solution Solved by dENIZAC,

Recommended Posts

Experiencing Unity crashes when importing Gaia 2021. 

Steps - Open new Project in Unity ( v 2020.3.41f1 or 2021.3.11f1) 
Import Post Processing 3.2.2. 
Import JetBrains Rider Editor 3.0.16

 

System Detail:  Windows 11 / 21H2/ 32GB Ram / Intel 12Gen I9-12900K ( Ram 20 GB free) / AMD Radeon 6600XT Video using driver AMD Windows Driver Version 31.0.12029.1042

 

At this point, I can install purchased assets. If I install Gaia 2021 in any order, it crashes the editor.  Project will not open after. 
I can install other assets successfully, before installing Gaia. 
 

Seems to get hung up when compressing image files as part of the import. 

Last couple lines of the editor log : ( ..AppData\Local\Unity\Editor)

 

Start importing Assets/Procedural Worlds/Gaia/Stamps/Valleys/4k Valley 1.exr using Guid(6730c445bb74451449e6da0348ad4e04) Importer(-1,00000000000000000000000000000000)  -> (artifact id: '24f22f2af3891532bd2be08af7374413') in 0.478269 seconds 
Start importing Assets/Procedural Worlds/Gaia/Asset Samples/NatureManufacture/T_Ground_Snow_1_H.png using Guid(6715fe680a5bc6c4c8788a3dcba67188) Importer(-1,00000000000000000000000000000000)  -> (artifact id: '79e0070e06468ee949bb674170245e21') in 0.062036 seconds 
Start importing Assets/Procedural Worlds/Gaia/Stamps/Plains/2k Plains 4.exr using Guid(67ea8bb5a9c49f944bbf52b80402631e) Importer(-1,00000000000000000000000000000000)  -> (artifact id: '1c76a80950b0cbb067576b8144769c91') in 0.121051 seconds 
Start importing Assets/Procedural Worlds/Gaia/Water/Content Resources/Textures/Caustics Textures/HDRP/CausticsRender_010 HDRP.tif using Guid(67bd3cc3cb77b4d47bc23913c11e86e6) Importer(-1,00000000000000000000000000000000)  -> (artifact id: '29806da59fa82a8f617c10a1a61e25a6') in 0.007360 seconds 
Start importing Assets/Procedural Worlds/Gaia/Lighting/Content Resources/Skyboxes/GaiaSampleEveningTinted.hdr using Guid(8742d234a0f593b49a0b5440c3fe89f9) Importer(-1,00000000000000000000000000000000) ispc_texcomp/kernel.ispc:1994:2: Assertion failed: v<pow2(bits) 

 

------------------------------------------------------------------------------------------------------------------------------------------------------

Form Temp\Unity\Editor\Crashes\Editor.log:

 

* Assertion at C:\build\output\Unity-Technologies\mono\mono\arch\x86\x86-codegen.h:403, condition `0' not met

Crash!!!

========== OUTPUTTING STACK TRACE ==================

0x00007FFF7509428C (KERNELBASE) RaiseException
0x00007FFED247064C (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\utils\mono-log-common.c:143] mono_log_write_logfile 
0x00007FFED245C4A2 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\eglib\goutput.c:172] monoeg_g_logv_nofree 
0x00007FFED245C57C (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\eglib\goutput.c:215] monoeg_assertion_message 
0x00007FFED245C5C9 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\eglib\goutput.c:231] mono_assertion_message 
0x00007FFED28107D3 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\mini\mini-amd64.c:179] mono_x86_patch 
0x00007FFED2672A2E (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\mini\mini.c:2305] mono_codegen 
0x00007FFED267661A (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\mini\mini.c:3891] mini_method_compile 
0x00007FFED2677097 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\mini\mini.c:4086] mono_jit_compile_method_inner 
0x00007FFED267DD4C (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\mini\mini-runtime.c:2700] mono_jit_compile_method_with_opt 
0x00007FFED267F798 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\mini\mini-runtime.c:3309] mono_jit_runtime_invoke 
0x00007FFED25BE764 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\object.c:3066] do_runtime_invoke 
0x00007FFED25BE8FC (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\object.c:3113] mono_runtime_invoke 
0x00007FF74A6E8164 (Unity) scripting_method_invoke
0x00007FF74A6C7A04 (Unity) ScriptingInvocation::Invoke
0x00007FF74A6C7AEE (Unity) ScriptingInvocation::InvokeChecked
0x00007FF74A75CAD6 (Unity) SerializableManagedRef::CallMethod
0x00007FF74A75C48B (Unity) SerializableManagedRefsUtilities::AwakeInstancesAfterBackupRestoration
0x00007FF74A6B2740 (Unity) MonoManager::EndReloadAssembly
0x00007FF74A6B9ED8 (Unity) MonoManager::ReloadAssembly
0x00007FF74B5F62AE (Unity) Internal_ADB_Only_ReloadAllUsedAssemblies
0x00007FF74BAB42F7 (Unity) ImportOutOfDateAssets
0x00007FF74BAC0143 (Unity) RefreshInternalV2
0x00007FF74BAC77FB (Unity) StopAssetImportingV2Internal
0x00007FF74BAC154C (Unity) RefreshV2
0x00007FF74BA39080 (Unity) AssetDatabase::Refresh
0x00007FF74B184DE7 (Unity) ImportPackageAssets
0x00007FF74B18A0E4 (Unity) TickPackageImport
0x00007FF74B2F222F (Unity) Application::TickTimer
0x00007FF74B74181A (Unity) MainMessageLoop
0x00007FF74B7460CB (Unity) WinMain
0x00007FF74CAE533E (Unity) __scrt_common_main_seh
0x00007FFF774B54E0 (KERNEL32) BaseThreadInitThunk
0x00007FFF7772485B (ntdll) RtlUserThreadStart

========== END OF STACKTRACE ===========

 

Please let me know if there is anything else needed to support this issue. I am starting here since Gaia seems to cause the crash to occur and is re-producible.  If you find the issue could be caused by other factors I am open to working directly with Unity or other vendors. 

 

Thank you.  

 

Link to comment
Share on other sites

As an update, someone suggested I try an HDRP project as they found the DLL file is used in the HDRP pipeline. It too crashed on import. 

Once It crashed, I went back to Unity Hub and re-opened the Project, it crashed 4 more times processing the .hdr files ( around 50% each time) after the 5th time, the import completed. The Console was riddled with errors. ( Invalid GC handle) I closed and re-opened the editor, no errors and Gaia is now in the Window menu.  This is version 2021.3.11f1.

I am going to try another import to see if I can duplicate the "experience". 

Link to comment
Share on other sites

This is confirmed, if I let it install and crash, I can reload the project 4 times and on the 5th time it completed and scene loaded. This time I also went to the Gaia option in the menu and the regular Gaia Manager window loaded and has all options. 

Please let me know what more you need for this case. I would think no one wants to reload 4 times to get an asset installed.  It sure makes me wonder if it will work as expected. Thank you. 

Link to comment
Share on other sites

  • Solution

This issue is known.

Mixed into the crashes was a message "Failed to present D3D11 swapchain due to device removed."

Once you get Gaia loaded, in the setup tab of the manager, set the registry option for TdrLevel =0

Then reboot.

Issue is resolved.

This info may be best added to the Package Manager so users can set this before trying installation.

 

Link to comment
Share on other sites

Interesting thank you for the information. 
I will pass this along to the team! 
 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Tell a friend

    Love Canopy - Procedural Worlds? Tell a friend!
  • Need help?

    We work with some of the biggest brands in global gaming, automotive, technology, and government to create environments, games, simulations, and product launches for desktop, mobile, and VR.

    Our unique expertise and technology enable us to deliver solutions that look and run better at a fraction of the time and cost of a typical project.

    Check out some of our non-NDA work in the Gallery, and then Contact Us to accelerate your next project!

×
×
  • Create New...