# Crash with latest version (v1.27) UE5.1.1

**URL:** <https://community.cesium.com/t/crash-with-latest-version-v1-27-ue5-1-1/24660>\
**Category:** Cesium for Unreal\
**Created:** [June 8, 2023, 8:06pm UTC](https://community.cesium.com/t/crash-with-latest-version-v1-27-ue5-1-1/24660 "2023-06-08T20:06:20Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Seb](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/seb/32/12829_2.png) [@Seb](https://community.cesium.com/u/Seb)\
**Post date:** [June 8, 2023, 8:06pm UTC](https://community.cesium.com/t/crash-with-latest-version-v1-27-ue5-1-1/24660/1 "2023-06-08T20:06:20Z")

</div>

Hi ,

I just updated the plugin to the latest version (today version 1.27 / UE5.1.1), since then I cannot launch my project anymore .  
If I disable the cesium plugin in the uproject file, projects launch well.

Here’s the error log :

> [2023.06.08-19.35.43:486][0]LogShaderCompilers: Warning: 3 Shader compiler errors compiling WorldGridMaterial for platform PCD3D\_SM6:  
> [2023.06.08-19.35.43:486][0]LogShaderCompilers: Warning: Shader debug info dumped to: “E:/Git Unreal/PROJECTNAME/Saved/ShaderDebugInfo/PCD3D\_SM6/WorldGridMaterial/Default/DepthPosOnlyNoPixelPipeline/FCesiumPointAttenuationVertexFactory/TDepthOnlyVS(true)/0”  
> C:/Program Files/Epic Games/UE\_5.1/Engine/Shaders/Private/PositionOnlyDepthVertexShader.usf(23,57): Shader TDepthOnlyVS, Permutation 0, VF FCesiumPointAttenuationVertexFactory:  
> /Engine/Private/PositionOnlyDepthVertexShader.usf(23,57): error: no member named ‘InstanceId’ in ‘FPositionOnlyVertexFactoryInput’  
> const uint EyeIndex = (IsInstancedStereo() ? ( (Input.InstanceId) & 1) : 0) ;  
> ~~~~~ ^
> 
> [2023.06.08-19.35.43:486][0]LogShaderCompilers: Warning: C:/Program Files/Epic Games/UE\_5.1/Engine/Shaders/Private/PositionOnlyDepthVertexShader.usf(26,64): Shader TDepthOnlyVS, Permutation 0, VF FCesiumPointAttenuationVertexFactory:  
> /Engine/Private/PositionOnlyDepthVertexShader.usf(26,64): error: no member named ‘InstanceId’ in ‘FPositionOnlyVertexFactoryInput’  
> ResolvedView = (ResolveView( (IsInstancedStereo() ? ( (Input.InstanceId) & 1) : 0) )) ;  
> ~~~~~ ^
> 
> [2023.06.08-19.35.43:486][0]LogShaderCompilers: Warning: C:/Program Files/Epic Games/UE\_5.1/Engine/Shaders/Private/PositionOnlyDepthVertexShader.usf(): Shader TDepthOnlyVS, Permutation 0, VF FCesiumPointAttenuationVertexFactory:  
> D3DCompileToDxil failed. Error code: Erreur non spécifiée (0x80004005).
> 
> [2023.06.08-19.35.43:486][0]LogWindows: Error: appError called: Fatal error: [File:D:\build++UE5\Sync\Engine\Source\Runtime\Engine\Private\ShaderCompiler\ShaderCompiler.cpp] [Line: 4668]  
> /Engine/Private/PositionOnlyDepthVertexShader.usf:23:57: error: no member named ‘InstanceId’ in ‘FPositionOnlyVertexFactoryInput’  
> const uint EyeIndex = (IsInstancedStereo() ? ( (Input.InstanceId) & 1) : 0) ;  
> ~~~~~ ^  
> /Engine/Private/PositionOnlyDepthVertexShader.usf:26:64: error: no member named ‘InstanceId’ in ‘FPositionOnlyVertexFactoryInput’  
> ResolvedView = (ResolveView( (IsInstancedStereo() ? ( (Input.InstanceId) & 1) : 0) )) ;  
> ~~~~~ ^  
> D3DCompileToDxil failed. Error code: Erreur non spécifiée (0x80004005).  
> Failed to compile default material /Engine/EngineMaterials/WorldGridMaterial.WorldGridMaterial!

---

<div class="post-metadata">

**Author:** ![Kevin\_Ring](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/kevin_ring/32/2003_2.png) [@Kevin\_Ring](https://community.cesium.com/u/Kevin_Ring)\
**Post date:** [June 9, 2023, 12:15am UTC](https://community.cesium.com/t/crash-with-latest-version-v1-27-ue5-1-1/24660/2 "2023-06-09T00:15:20Z")

</div>

I responded to this here:

> <https://github.com/CesiumGS/cesium-unreal/issues/1123>
>
> Hi , 
> 
> I just updated the plugin to the latest version (today version 1.27 / …UE5.1.1), since then I cannot launch my project anymore .
> If I disable the cesium plugin in the uproject file, projects launch well.
> 
> Here's the error log : 
> 
> \`\`\`
> \[2023.06.08-19.35.43:486\]\[0\]LogShaderCompilers: Warning: 3 Shader compiler errors compiling WorldGridMaterial for platform PCD3D\_SM6:
> \[2023.06.08-19.35.43:486\]\[0\]LogShaderCompilers: Warning: Shader debug info dumped to: "E:/Git Unreal/PROJECTNAME/Saved/ShaderDebugInfo/PCD3D\_SM6/WorldGridMaterial/Default/DepthPosOnlyNoPixelPipeline/FCesiumPointAttenuationVertexFactory/TDepthOnlyVS(true)/0"
> C:/Program Files/Epic Games/UE\_5.1/Engine/Shaders/Private/PositionOnlyDepthVertexShader.usf(23,57): Shader TDepthOnlyVS\<true\>, Permutation 0, VF FCesiumPointAttenuationVertexFactory:
> /Engine/Private/PositionOnlyDepthVertexShader.usf(23,57): error: no member named 'InstanceId' in 'FPositionOnlyVertexFactoryInput'
> const uint EyeIndex = (IsInstancedStereo() ? ( (Input.InstanceId) & 1) : 0) ;
> ~~~~~ ^
> 
> \[2023.06.08-19.35.43:486\]\[0\]LogShaderCompilers: Warning: C:/Program Files/Epic Games/UE\_5.1/Engine/Shaders/Private/PositionOnlyDepthVertexShader.usf(26,64): Shader TDepthOnlyVS\<true\>, Permutation 0, VF FCesiumPointAttenuationVertexFactory:
> /Engine/Private/PositionOnlyDepthVertexShader.usf(26,64): error: no member named 'InstanceId' in 'FPositionOnlyVertexFactoryInput'
> ResolvedView = (ResolveView( (IsInstancedStereo() ? ( (Input.InstanceId) & 1) : 0) )) ;
> ~~~~~ ^
> 
> \[2023.06.08-19.35.43:486\]\[0\]LogShaderCompilers: Warning: C:/Program Files/Epic Games/UE\_5.1/Engine/Shaders/Private/PositionOnlyDepthVertexShader.usf(): Shader TDepthOnlyVS\<true\>, Permutation 0, VF FCesiumPointAttenuationVertexFactory:
> D3DCompileToDxil failed. Error code: Erreur non spécifiée (0x80004005).
> 
> \[2023.06.08-19.35.43:486\]\[0\]LogWindows: Error: appError called: Fatal error: \[File:D:\\build\\++UE5\\Sync\\Engine\\Source\\Runtime\\Engine\\Private\\ShaderCompiler\\ShaderCompiler.cpp\] \[Line: 4668\] 
> /Engine/Private/PositionOnlyDepthVertexShader.usf:23:57: error: no member named 'InstanceId' in 'FPositionOnlyVertexFactoryInput'
> const uint EyeIndex = (IsInstancedStereo() ? ( (Input.InstanceId) & 1) : 0) ;
> ~~~~~ ^
> /Engine/Private/PositionOnlyDepthVertexShader.usf:26:64: error: no member named 'InstanceId' in 'FPositionOnlyVertexFactoryInput'
> ResolvedView = (ResolveView( (IsInstancedStereo() ? ( (Input.InstanceId) & 1) : 0) )) ;
> ~~~~~ ^
> D3DCompileToDxil failed. Error code: Erreur non spécifiée (0x80004005).
> Failed to compile default material /Engine/EngineMaterials/WorldGridMaterial.WorldGridMaterial!
> \`\`\`

---

<div class="post-metadata">

**Author:** ![Stollentroll1984](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/stollentroll1984/32/14185_2.png) [@Stollentroll1984](https://community.cesium.com/u/Stollentroll1984)\
**Post date:** [June 9, 2023, 9:20am UTC](https://community.cesium.com/t/crash-with-latest-version-v1-27-ue5-1-1/24660/3 "2023-06-09T09:20:48Z")

</div>

Have the same problem here. You have to enable “Instanced Stereo” to reproduce the issue.

---

<div class="post-metadata">

**Author:** ![Kevin\_Ring](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/kevin_ring/32/2003_2.png) [@Kevin\_Ring](https://community.cesium.com/u/Kevin_Ring)\
**Post date:** [June 13, 2023, 3:58am UTC](https://community.cesium.com/t/crash-with-latest-version-v1-27-ue5-1-1/24660/4 "2023-06-13T03:58:46Z")

</div>

Ok, thanks. I can reproduce this in UE 5.1.1 and Cesium for Unreal v1.27.0 with “Instanced Stereo” enabled. We will investigate.

---

<div class="post-metadata">

**Author:** ![Stollentroll1984](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/stollentroll1984/32/14185_2.png) [@Stollentroll1984](https://community.cesium.com/u/Stollentroll1984)\
**Post date:** [June 13, 2023, 9:02am UTC](https://community.cesium.com/t/crash-with-latest-version-v1-27-ue5-1-1/24660/5 "2023-06-13T09:02:58Z")

</div>

Thanks for the reply!  
UE 5.2 and Cesium for Unreal v1.27.0 have the same problem.

---

<div class="post-metadata">

**Author:** ![janine](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/janine/32/5135_2.png) [@janine](https://community.cesium.com/u/janine)\
**Post date:** [June 20, 2023, 3:53pm UTC](https://community.cesium.com/t/crash-with-latest-version-v1-27-ue5-1-1/24660/6 "2023-06-20T15:53:56Z")

</div>

Hi all,

Just to update: a fix for this was included in the Cesium for Unreal v1.27.1 release. We have submitted the new release to the Unreal Marketplace and are waiting on them to publish.
