Search Issue Tracker
Fixed in 2021.1
Fixed in 2020.2
Votes
0
Found in
Issue ID
1264576
Regression
No
[VT] Errors after directly editing virtualTexturingSupportEnabled in ProjectSettings.asset
Steps:
1. Open HDRP project (like new HDRP template)
2. In project settings, other settings: toggle Virtual Texturing* = on
3. file > save project
4. In a text editor, open ProjectSettings/ProjectSettings.asset and change virtualTexturingSupportEnabled = 0
5. save ProjectSettings.asset
6. Go back to the editor
Expected: editor asks to restart to apply changed Project Settings (and enable Virtual Texturing)
Actual: UI is broken (not showing the dropdown for cache setting overrides), error spams console, rendering is broken
Repro: HDRP 10.0.0 + Unity 2020.2.0a19
Notes:
- at time of writing, this bug is unreleased (assume it will land in HDRP 10.0.0)
- this bug may occur for users who change their ProjectSettings.asset with git (for example, git checkout does the same thing as step 4)
Error example:
InvalidOperationException: Virtual Texturing is not enabled in the player settings
UnityEngine.Rendering.HighDefinition.VirtualTexturingSettingsUI.....
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
- Terrain inspector is suggesting a shader which doesn't work
- [Vulkan] Build crashes with vk_icdNegotiateLoaderICDInterfaceVersion after minimizing and then maximizing the Window
- [Search] Index Manager: Empty item in Include or Exclude list will be taken in count
- [Search] Index Manager folder browse button is limited to Asset folder
- [Search] User Created Indices disappear from manager list if disabled
Resolution Note (fix version 2021.1):
fixed in 2021.1.0a6 with HDRP 10.1.0
Now, if you modify the project settings directly on disk with Unity editor open to toggle Virtual Texturing support, Unity will present a dialog to restart the editor.
If there are unsaved changes, Unity will prompt you to save or discard before it restarts.
Notes:
- There is no cancel button because the setting change was made outside of Unity and is already persistent on disk.
- The restart dialog will appear when opening the editor, if the setting was changed on disk while Unity editor was closed.