Search Issue Tracker
Fixed in 2021.3.14f1
Fixed in 2021.3.X, 2022.1.X, 2022.2.X, 2022.2.0a10
Votes
1
Found in
2021.3.11f1
2022.1.21f1
2022.2.0a9
Issue ID
UUM-18025
Regression
No
Multiple C4717 warning in Unity.RenderPipelines.Universal.Runtime2.cpp
How to reproduce:
1. Open the user's attached project
2. Build the project for UWP, iOS or any other IL2CPP platform where you can see C++ compiler output
3. Observe build warnings:
1>il2cppOutput\Unity.RenderPipelines.Universal.Runtime2.cpp(15003): warning C4717: 'UniversalRenderPipelineAsset_set_additionalLightsShadowResolutionTierHigh_mAFE0532328839F34DE18FFCB03079EBFFD0A1206': recursive on all control paths, function will cause runtime stack overflow
1>il2cppOutput\Unity.RenderPipelines.Universal.Runtime2.cpp(14963): warning C4717: 'UniversalRenderPipelineAsset_set_additionalLightsShadowResolutionTierLow_mC81357DB56D34D63D90EDD8C88839628858B815C': recursive on all control paths, function will cause runtime stack overflow
1>il2cppOutput\Unity.RenderPipelines.Universal.Runtime2.cpp(15270): warning C4717: 'UniversalRenderPipelineAsset_set_cascadeBorder_mC2D3A4B6764C0018D925BE49D1CFD1F458E4F13C': recursive on all control paths, function will cause runtime stack overflow
Expected results: No "C4717: recursive on all control paths, function will cause runtime stack overflow" warnings in the Visual Studio console
Reproducible with: 2021.3.11f1, 2022.2.0a9
Not reproducible with: 2020.3.41f1, 2022.2.0a10, 2022.2.0b10, 2023.1.0a16
Reproducible on: Windows 10
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- GameObjects change Hierarchy order when undoing adding Component to multiple GameObjects
- [macOS] Editor crashes after entering Play mode with overlapping GameObjects with Cloth Component and Cloth Inter-Collision enabled
- Look Dev constantly regenerates the default Volume Profile when set to "None" instead of using the default one
- Look Dev errors are spammed when opening a new HDRP project when Look Dev was added to the layout in the previous project
- URP Scene Templates are not editable when first opened from the New Scene dialog
Add comment