Search Issue Tracker
Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.
Postponed
Votes
0
Found in
2021.2.0b12
Issue ID
1367660
Regression
No
[Enlighten] Precompute fails to progress beyond Create Geometry when using detailed Terrain topologies
Repro:
Repro project is available in the comments.
Download and import the repro project above using 2021.2.0b12
Open the Scene "Terrain_GPULM"
Navigate to the Lighting window and click "Generate Lighting"
Observe that the bake completes in a few seconds, using low settings such as these
Now open the Scene, "Terrain_Enlighten"
Observe that a Lighting Parameters asset has been assigned to the terrain. This is using the lowest possible indirect resolution that we allow
Click "Generate Lighting" once again
Observed:
Enlighten's precompute step does not progress beyond "Create Geometry" and the progress bar becomes unresponsive.
Expected:
Using very low indirect resolutions such as this, it is expected that the precompute step should be feasible. The terrain in the bug repro isn't really that large at 300x300 units, this doesn't feel unreasonable for very low resolution GI (0.01 texels per unit).
Notes:
Given Enlighten is in maintenance mode, I am unsure how much time we will invest here, but it is quite likely that users will want to use features such as the new TerrainToolbox to create detailed terrains and use these with Enlighten. In fact, on of the benefits we promote for Enlighten is time-of-day, and this implies an outdoor worlds, which will very likely use Unity's Terrain system.
With this in mind, it feels like maybe we should do something here to support such a major product feature? If we find that we absolutely cannot, then perhaps a warning should be shown in the UI and the bake should early-out?
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
- Test Runner’s vertical scrollbar overlaps with the up and down arrows and upper toolbar tabs when the window is minimized
- The Input Field view is not updated when deleting lines of text
- The scrollbar does not respect empty lines in the Input Field
- “Texture Atlas Viewer“ button text overlaps another button when the UI Toolkit Debugger is narrowed
- Thresholds are no longer automatically calculated after deleting Motion fields in Blendtrees
Resolution Note (2022.1.X):
This issue is caused by a limitation from Enlighten that scales poorly with geometric complexity in some cases. We'll look at improving the UX when this happens.