-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[4.4.dev7] The Default Environment
setting is reset after the "cold" project loading (res://
| uid://
issue)
#100915
Comments
res://
| uid://
issue)Default Environment
setting is reset after the **"cold"** project loading (res://
| uid://
issue)
Default Environment
setting is reset after the **"cold"** project loading (res://
| uid://
issue)Default Environment
setting is reset after the "cold" project loading (res://
| uid://
issue)
Seems like the |
This maybe due to running scan of filesystem after loading environment and main scene, or something like what. Needs investigating |
The environment is loaded in SceneTree constructor, which happens before any filesystem scan that could load the UID. And interestingly, the code deletes the settting if file can't be found. godot/scene/main/scene_tree.cpp Lines 1970 to 1984 in 9630d4e
|
Tested versions
System information
Godot v4.4.dev7 - Windows 11 (build 26100) - Multi-window, 1 monitor - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3060 Ti (NVIDIA; 32.0.15.6636) - 12th Gen Intel(R) Core(TM) i5-12400 (12 threads)
Issue description
The default environment setting (
rendering/environment/defaults/default_environment
) is reset after the "cold" project loading (deleting the.godot
folder and loading project for the first time). However, it stays on place if it was saved asres://...
path, not asuid://...
value. Seems likeuid
related bug.Steps to reproduce
Steps for 4.4.dev7:
Environment
asset;Project Settings
;.godot
folder;Not reproduced with 4.3 -> 4.4 migration because its value will still be saved as
res://
, notuid://
.Minimal reproduction project (MRP)
test.zip
The text was updated successfully, but these errors were encountered: