Search Issue Tracker
Fixed
Fixed in 2022.3.60f1, 6000.0.43f1, 6000.1.0b10, 6000.2.0a7
Votes
0
Found in
2022.3.57f1
6000.0.36f1
6000.1.0b5
Issue ID
UUM-96214
Regression
No
Broken build (due to Shader Errors) is reported as Successful with Build and Run
Reproduction steps:
1. Open the attached “BuiltInRP6.zip” project
2. Make sure “Compute Fluids” Scene is in the Scene List (File > Build Profiles)
3. Build and Run the project
4. Observe the Console
Expected result: The Player build fails each time
Actual result:
On the first run an expected error is logged “Shader warning in 'Shader Graphs/ParticleShader': pow(f, e) will not work for negative f, use abs(f)“ warning and “Error building Player: 5 errors” logs are visible and the Player does not build
But building the project the second time, makes the Player build successfully, with no errors
Reproducible with: 2022.3.57f1, 6000.0.36f1, 6000.1.0b5, 6000.1.0a2
Reproducible on: Windows 11
Not reproducible on: No other environment tested
Notes:
- Only reproduces with Build And Run
-"Build and Run" specifies "BuildOptions.StrictMode" which means any logged error will fail the build. Doing a regular player build in the UI does not specify this flag.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
Resolution Note (fix version 6000.2.0a7):
Fix error handling when using the "Build and Run" option so that shader syntax errors, and other logged errors, are consistently treated as build failures. The bug involved cases where the content of a failed build was being reused, instead of the content being rebuilt, on the next build attempt. Note: The repro involves "Build and Run" because that uses the "strict" build mode option.
Resolution Note (fix version 6000.1.0b10):
Fix error handling when using the "Build and Run" option so that shader syntax errors, and other logged errors, are consistently treated as build failures. The bug involved cases where the content of a failed build was being reused, instead of the content being rebuilt, on the next build attempt. Note: The repro involves "Build and Run" because that uses the "strict" build mode option.
Resolution Note (fix version 6000.0.43f1):
Fix error handling when using the "Build and Run" option so that shader syntax errors, and other logged errors, are consistently treated as build failures. The bug involved cases where the content of a failed build was being reused, instead of the content being rebuilt, on the next build attempt. Note: The repro involves "Build and Run" because that uses the "strict" build mode option.
Resolution Note (fix version 2022.3.60f1):
Fix error handling when using the "Build and Run" option so that shader syntax errors, and other logged errors, are consistently treated as build failures. The bug involved cases where the content of a failed build was being reused, instead of the content being rebuilt, on the next build attempt. Note: The repro involves "Build and Run" because that uses the "strict" build mode option.