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

GameConfig.cs Returns Null Reference During Plugin Load #1672

Closed
Sebane1 opened this issue Feb 20, 2024 · 1 comment · Fixed by #1673
Closed

GameConfig.cs Returns Null Reference During Plugin Load #1672

Sebane1 opened this issue Feb 20, 2024 · 1 comment · Fixed by #1673

Comments

@Sebane1
Copy link

Sebane1 commented Feb 20, 2024

A revival of the following as I do not appear to be able to re-open the issue.
#1529

I was unable to get a full log from the person who reported this issue to me, but this should hopefully cover the key aspects of the error.
Was unable to get this to reproduce on my own machine.
image

@Soreepeong
Copy link
Contributor

Yeah I can see this happening; it really is a race condition for plugins that load before GameConfig is fully initialized. On the access to plugin-scoped GameConfig it'll wait for the underlying service, but the wait is insufficiently done. I'll think about the solution later

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 a pull request may close this issue.

2 participants