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

[Favorite Buildings] Mod crashes game when setting numbers in variable fields #76

Closed
fsroque opened this issue Feb 21, 2022 · 3 comments

Comments

@fsroque
Copy link

fsroque commented Feb 21, 2022

Favorite Buildings v1.2.5.8
ONI version U40-494396-S with DLC Spaced Out

Typing a number in a variable field (for example in the critter drop-off, or changing the limits in the Storage Bin) crashes the game. This is the error in the debug console:

[DebugConsole][1]: Error[Exception]: NullReferenceException: Object reference not set to an instance of an object
Ony.OxygenNotIncluded.Object_Extensions.GetFieldValue[T] (System.Object obj, System.String fieldName) (at <2e19311025fc4d6b9cbf12166a417735>:0)
Ony.OxygenNotIncluded.FavoriteBuildings.FavoriteBuildingsComponent.SelectBuilding (System.String prefabID) (at <2e19311025fc4d6b9cbf12166a417735>:0)
Ony.OxygenNotIncluded.FavoriteBuildings.FavoriteBuildingsComponent.Update () (at <2e19311025fc4d6b9cbf12166a417735>:0)

  [DebugConsole][1]: Error[Exception]: NullReferenceException: Object reference not set to an instance of an object
Ony.OxygenNotIncluded.Object_Extensions.GetFieldValue[T] (System.Object obj, System.String fieldName) (at <2e19311025fc4d6b9cbf12166a417735>:0)
Ony.OxygenNotIncluded.FavoriteBuildings.FavoriteBuildingsComponent.SelectBuilding (System.String prefabID) (at <2e19311025fc4d6b9cbf12166a417735>:0)
Ony.OxygenNotIncluded.FavoriteBuildings.FavoriteBuildingsComponent.Update () (at <2e19311025fc4d6b9cbf12166a417735>:0)

[17:22:54.002] [1] [INFO] Checking which steam branch we're on. Got: []
@O-n-y
Copy link
Owner

O-n-y commented May 23, 2022

do you have this issue with modded game (excluded ones made by me)?
if so, please check if you have it without other mods

@fsroque
Copy link
Author

fsroque commented May 23, 2022 via email

@O-n-y O-n-y changed the title Mod crashes game when setting numbers in variable fields [Favorite Buildings] Mod crashes game when setting numbers in variable fields Apr 8, 2023
@O-n-y
Copy link
Owner

O-n-y commented Nov 10, 2023

will be fixed in upcoming release build

@O-n-y O-n-y closed this as completed Nov 10, 2023
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

No branches or pull requests

2 participants