- Create a new mod
- Override the prefab {59121DD52FF62112}Prefabs/MP/Campaign/CampaignMPGameMode.et (Right Click -> Override in ..)
- Open the World Editor and load the CTI_Campaign_Arland
- Ensure the scenario uses the overriden prefab
- Launch the game (F5) and ensure it did not give any script errors on start
- Stop the game
- Edit the overriden prefab. Add the SCR_ArsenalManagerComponent to it and save
- Load the CTI_Campaign_Arland again. Ensure the prefab has updated and both the "ArmA" and "Mod" components are present in the prefab. Pay attention at the SCR_CompositionSlotManagerComponent
- Launch the game. Notice the script error. Debug the error. Notice it is caused by the missing SCR_CompositionSlotManagerComponent component in the GameMode
- Stop the game and inspect the GameMode in the World Editor. Ensure it has the SCR_CompositionSlotManagerComponent component.
- Edit the prefab from step 2 and remove the added SCR_ArsenalManagerComponent. Save the prefab.
- Load the CTI_Campaign_Arland again and start the game. Ensure there is no more script error.
Expected result:
Adding a component to an overriden Prefab should not erase the prefab own components, unles they are removed explicitly.