Skip to content

Fixed "PersistentDataPath" usage in Editor context#2624

Merged
KABoissonneault merged 1 commit intoInterkarma:masterfrom
KABoissonneault:fix/editor-settings
Mar 29, 2024
Merged

Fixed "PersistentDataPath" usage in Editor context#2624
KABoissonneault merged 1 commit intoInterkarma:masterfrom
KABoissonneault:fix/editor-settings

Conversation

@KABoissonneault
Copy link
Copy Markdown
Collaborator

Fixed issue caused by #2607.

Before #2607, PersistentDataPath was lazily initialized whenever it was requested. In #2607, I made it get defined on application start. I failed to consider that PersistentDataPath was used in Editor code. Currently, if you open the editor on the latest code, it should throw a null reference exception.

This change turns it back into lazy initialization, so editor code still initializes it.

@KABoissonneault KABoissonneault added this to the DFU 1.0.1 milestone Mar 23, 2024
@KABoissonneault KABoissonneault merged commit e37a7fc into Interkarma:master Mar 29, 2024
@KABoissonneault KABoissonneault deleted the fix/editor-settings branch March 29, 2024 23:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants