Duplicating Prefabs has chaotic results and make the prefabs look different in editor and in the actual level.
Please select what you are reporting on:
Creative
What Type of Bug are you experiencing?
Assets
Steps to Reproduce
Drag a prefab into the Editor
Change a child entity in the prefab
Duplicate the Prefab
Change a child entity in the prefab
Duplicate the Prefab
Expected Result
All three prefabs duplicate correctly and are synced correctly in game
Observed Result
First duplicated prefab looks correctly duplicated in editor but shows up wrong in game
Second duplicated prefab resets to default transforms and when changed it become inconsistent with in-game.
Just want to add to this when you dupe a prefab and change its editable ref to a entity in the world this doesn’t override so when you do something with the editable ref transform it is failing and using the main prefab transform instead even thought the editable is connected ect.
If you copy a prefab and it has a comp on it in verse and you have a print() for example. If you delete the prefab you copied even though its not in the world/Outliner itll always Print() like its valid even thought it doesn’t exists.
I had 2 prefabs in the world - 2x Prints() would happen.
I alt copied a prefab then 3x Prints() would happen.
I deleted the alt copied prefab and still 3x Prints() happen ? very weird as the prefab doesn’t exists.
Restarting UEFN fixed this but yea this needs checking out for sure.
I don’t have issues with building prefabs tbh and even the in-place editor thing is awesome. (Needs a hotkey when a entity is highlighted)
Most issues I’ve encountered are all about copying prefabs in some way.
If they fix this issue then this system would be 1000% better to create in as the current way now is dragging a new prefab in the world then editing the editable again and again this is not practical but at least solves any issue with alt copy.
thats what i mean, copying prefabs inside the prefab editor doesn’t error like it does in the level. So you can build and copy mostly in the prefab editor than drop it into the level.