O-n-y / oxy.mods

Oxy.BugTracker
14 stars 2 forks source link

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

Closed fsroque closed 8 months ago

fsroque commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

This occurs with base game and Favorite Buildings only activated.

On Mon, May 23, 2022 at 8:21 AM O-n-y @.***> wrote:

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

— Reply to this email directly, view it on GitHub https://github.com/O-n-y/oxy.mods/issues/76#issuecomment-1134230337, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKGGSOXFWUXJE7EXBEXNXTVLMPUXANCNFSM5O7GH7WQ . You are receiving this because you authored the thread.Message ID: @.***>

O-n-y commented 8 months ago

will be fixed in upcoming release build