Skip to content
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

Fix default Environment project setting and loading #99739

Merged
merged 1 commit into from
Nov 29, 2024

Conversation

ydeltastar
Copy link
Contributor

@ydeltastar ydeltastar commented Nov 27, 2024

When a project opens, the scene tree tries to load the default Environment while the editor is still scanning the filesystem. This causes issues and errors since the uid:// may not have been mapped yet.

This PR ensures it only tries to load when it is mapped.

@ydeltastar ydeltastar requested a review from a team as a code owner November 27, 2024 03:24
@clayjohn clayjohn added this to the 4.4 milestone Nov 27, 2024
@clayjohn clayjohn requested a review from KoBeWi November 27, 2024 03:35
@ydeltastar ydeltastar force-pushed the fix-default-environment branch 6 times, most recently from 771d076 to 489e699 Compare November 27, 2024 17:12
@ydeltastar ydeltastar force-pushed the fix-default-environment branch from 489e699 to 8793764 Compare November 27, 2024 17:15
@akien-mga akien-mga merged commit cf165a1 into godotengine:master Nov 29, 2024
20 checks passed
@akien-mga
Copy link
Member

Thanks!

@ydeltastar ydeltastar deleted the fix-default-environment branch March 11, 2025 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Default Environment in project settings resets after project reloads and give errors
4 participants