Skip to content

KSP 1.12.5 (or a 3rd party add'on?) are not honouring the once attribute from the KSPAddon decoration #69

@Lisias

Description

@Lisias

As the title says!!

A code of mine using [KSPAddon(KSPAddon.Startup.MainMenu, true)] is being instantiated every time the Main Menu is called!!

Evidence: Player.log

After entering a savegame (you need to open the VAB or KSP on each one) and quitting to the Main Menu 3 times, I got:

> cat Player.log | grep "Instantiating addon 'TweakScaleHotKeys' from assembly 'Scale'" | wc -l
3

I just can't say how many add'ons are being ROYALLY screwed up by this crap!!!!

TODO: Check if previous KSP releases also suffers from this problem!

Metadata

Metadata

Assignees

Labels

Not My FaultNot my Fault! I'm innocent! :)bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions