After upgrading from Unity 2021 LTS to Unity 6000.0.46f1, I'm running into issues where Mirror NetworkMessage Readers/Writers are not generated in builds (tested in both IL2CPP and Mono).
In the Editor, everything works perfectly.
In the Standalone build, I get null reference exceptions when sending/receiving custom messages — indicating the serializers aren’t registered.
I'm using an old Mirror version, no manual message registration, no additive scenes, no special scripting defines.
This used to work 100% in Unity 2021.
Has anyone hit this in Unity 6 or know a workaround?
I highly believe at some point (either when mirror added Unity 2022 or Unity 6 Support) there were changes on how the writers/readers were generated, do you have any tips for me?