Page MenuHomeFeedback Tracker

Extending the Prefab components does not work
Need More Info, NormalPublic

Details

Severity
None
Resolution
Open
Reproducibility
N/A
Operating System
Windows 7
Category
General
Steps To Reproduce
  1. Create a new mod
  2. Override the prefab {59121DD52FF62112}Prefabs/MP/Campaign/CampaignMPGameMode.et (Right Click -> Override in ..)
  3. Open the World Editor and load the CTI_Campaign_Arland
  4. Ensure the scenario uses the overriden prefab
  5. Launch the game (F5) and ensure it did not give any script errors on start
  6. Stop the game
  7. Edit the overriden prefab. Add the SCR_ArsenalManagerComponent to it and save

  1. 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

  1. Launch the game. Notice the script error. Debug the error. Notice it is caused by the missing SCR_CompositionSlotManagerComponent component in the GameMode

  1. Stop the game and inspect the GameMode in the World Editor. Ensure it has the SCR_CompositionSlotManagerComponent component.
  2. Edit the prefab from step 2 and remove the added SCR_ArsenalManagerComponent. Save the prefab.
  3. 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.

Event Timeline

winse created this task.Apr 15 2023, 9:28 PM
winse edited Steps To Reproduce. (Show Details)Apr 15 2023, 9:34 PM
winse edited Steps To Reproduce. (Show Details)
winse edited Steps To Reproduce. (Show Details)Apr 15 2023, 9:39 PM
Geez changed the task status from New to Awaiting internal Testing.Apr 17 2023, 2:51 PM
Geez changed the task status from Awaiting internal Testing to Assigned.
Geez changed the task status from Assigned to Need More Info.Sep 22 2023, 9:31 AM
Geez added a subscriber: Geez.

Hello winse.
Can you please let us know once the next experimental releases if this is still an issue on there?
Regards,
Geez