Skip to content

v0.3.4

Choose a tag to compare

@github-actions github-actions released this 27 Apr 01:03
· 9 commits to main since this release
v0.3.4: orphan GameObject + DontDestroyOnLoad to survive scene changes

The v0.3.3 side-channel diagnostic was conclusive: Plugin.Awake fires
once and writes its 'Awake complete' line, then Update never runs
again — across 5+ minutes of gameplay we got zero heartbeats. The
plugin's MonoBehaviour is being torn down between Awake and the first
in-game frame.

The working DualGrab mod's decompiled Awake explicitly orphans its
GameObject (parent = null) and sets HideFlags.HideAndDontSave. We were
relying on BepInEx's default lifecycle, which is apparently not
sufficient in R.E.P.O. — its scene transitions seem to clean up the
BepInEx_Manager GameObject our component lived on. Replicating
DualGrab's three-step trick (reparent to root, hide+don't-save flag,
explicit DontDestroyOnLoad) should keep our component alive across
the main-menu → level transition.

Also bundles the new 256x256 logo (six-axis SpaceMouse puck design)
into the package — first non-placeholder icon on Thunderstore.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>