limoka / DSP-Mods

An example how to add a custom model with your mesh and animations
MIT License
32 stars 11 forks source link

[BUG] - Error due to invalid buildings in blueprint #61

Closed mczz25 closed 9 months ago

mczz25 commented 1 year ago

Describe the bug An error prompt appears when copying the blueprint, and the blueprint cannot be copied after it appears

To Reproduce Steps to reproduce the behavior:

  1. Copy Blueprint
  2. See error

Expected behavior Can copy normally without error prompt

Log files [Error : Unity Log] System.NullReferenceException: Object reference not set to an instance of an object at BlueprintTweaks.UIStationPanel.OnUpdate () [0x00034] in <1d2347b3fe034f34b7d5a8bf1abc4589>:0 at BlueprintTweaks.UIBlueprintPanel.RefreshUI () [0x00020] in <1d2347b3fe034f34b7d5a8bf1abc4589>:0 at BlueprintTweaks.UIBlueprintInspectorPatch.OnRefresh (UIBlueprintInspector __instance, System.Boolean refreshComponent) [0x00090] in <1d2347b3fe034f34b7d5a8bf1abc4589>:0 at UIBlueprintInspector.Refresh (System.Boolean forModify, System.Boolean refreshComponent, System.Boolean refreshCode) [0x00a6e] in :0 at BuildTool_BlueprintCopy.RefreshBlueprintData () [0x00041] in :0 at BuildTool_BlueprintCopy.Operating () [0x0020e] in :0 at BuildTool_BlueprintCopy._OnTick (System.Int64 time) [0x00006] in :0 at BuildTool._GameTick (System.Int64 time) [0x000cf] in :0

Screenshots Picture 1 Picture 2

limoka commented 1 year ago

I was unable to reproduce your error. However I do think I know the likely cause (Corrupt buildings). Can you please try this test build and determine if your issues persist? kremnev8-BlueprintTweaks-1.5.10.zip

limoka commented 9 months ago

Closing since I can't reproduce the issue, and issue submitter didn't add further info