Steps to reproduce:
- Create a new Project with the Dedicated Server Package installed
- In any Scene quickly enter and exit Play Mode up to 3 times
Actual results: "InvalidOperationException: Multiplayer role mask cannot be changed at runtime" is logged when quickly entering Play Mode
Expected results: No exception on entering Play Mode - the Multiplayer Roles content selection is saved to the internal manager before the runtime role-mask lock engages, so SetStrippingTypesForRole is never called after isPlaying becomes true.
Reproducible with versions: 1.0.0, 3.0.0 (6000.0.0f1, 6000.0.80f1, 6000.3.18f1, 6000.5.6f1, 6000.6.0b6, 6000.7.0a3)
Tested on (OS): Windows 11