Search Issue Tracker
Fixed
Fixed in 6000.6.0a3
Votes
0
Found in
6000.6.0a2
Issue ID
UUM-138486
Regression
Yes
Missing namespace errors are thrown when the 'SURFACE_CACHE' scripting define is enabled
Steps to reproduce:
- Create and open a new URP project
- Open Edit -> Project Settings -> Player -> Script Compilation
- Add a "SURFACE_CACHE" Scripting Define Symbols
- Press "Apply"
- Observe the Console
Actual results: 4 'missing namespace' errors are thrown
Expected results: No errors are thrown
Reproducible in: 6000.6.0a2
Not reproducible in: 6000.0.72f1, 6000.3.12f1, 6000.4.1f1, 6000.5.0b2, 6000.6.0a1
Reproduced on: Windows 11 Pro (25H2)
Not reproduced on: No other environment tested
Notes:
- One of the errors read:
-- Library\PackageCache\com.unity.render-pipelines.universal@f5f4d476217d\Runtime\RendererFeatures\SurfaceCacheGIRendererFeature\SurfaceCacheWorldAdapter.cs(286,18): error CS0246: The type or namespace name 'TerrainChanges' could not be found (are you missing a using directive or an assembly reference?)
- Each other error is a variation of the first one with 'TerrainChanges' or 'TerrainDataChanges' namespace missing
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
- [RenderGraph] Outputs from camera stack override each other when using OpenGLES3 with a custom renderer feature
- An "RefreshInternalV2 is called before InitialRefresh" error is thrown when opening a project where a build profile with Player settings added is selected
- MeshCollider preview gizmo disappears from the Scene view when overriding the mesh asset using any 3D editing tool
- Tutorial project is not created when started from the Get set up tab
- Audio Listener Component expands when selected
Resolution Note:
Fixed in 6000.6.0a3
Resolution Note (fix version 6000.6.0a3):
Fixed in 6000.6.0a3