GlassBricks / StagedBlueprintPlanning

The ultimate Factorio mod for advanced blueprint planning.
GNU Lesser General Public License v3.0
10 stars 2 forks source link

Crash on stage name change #47

Open madneon opened 4 months ago

madneon commented 4 months ago

On fresh map with lab tiles, without any other mods, renaming Stage for blueprint crashes the script:

  20.848 Checksum for script __bp100__/control.lua: 3240698080
  21.029 Script @__bp100__/entity/entity-prototype-info.lua:20: Processing blueprint-able entity prototypes
  24.116 Script @__bp100__/lib/protected-action.lua:13: Protected action: unexpected error occurred:
LuaGuiElement API call when LuaGuiElement was invalid.
stack traceback:
    __bp100__/ui/StageSelector.lua:86: in function <__bp100__/ui/StageSelector.lua:85>
    (...tail calls...)
    __bp100__/lib/event/Event.lua:34: in function 'raise'
    __bp100__/lib/event/Property.lua:138: in function 'set'
    __bp100__/lib/factoriojsx/render.lua:29: in function <__bp100__/lib/factoriojsx/render.lua:28>
    (...tail calls...)
    [C]: in function 'xpcall'
    __bp100__/lib/protected-action.lua:17: in function 'protectedAction'
    __bp100__/lib/factoriojsx/render.lua:489: in function <__bp100__/lib/factoriojsx/render.lua:478>
GlassBricks commented 4 months ago

I'm unable to reproduce this. It would be helpful if you could provide:

madneon commented 2 months ago

Sorry for late answer, I'm not using GitHub daily anymore. Please let me know If you still want me to try reproduce this error with new versions.