Our team is having an issue when importing some Events.
If the FMOD generated banks have an event that needs to be imported in UE, i.e: Event → ThisEvent
And for some reason the UE import folder happened to have a redirector with the same name i.e: Redirector → ThisEvent, the UE editor will crash and remain in a broken state with error:
Cannot replace existing object of a different class.
I’ve searched for this issue on the thread history and somebody had the exact same error:
But I don’t see a solution on the thread, owner seems to have just found a workaround.
The simplest workaround for this, is to just delete or resolve the redirectors, but we’re trying to find a more reliable, non-manual solution for this error.
Is this expected behavior? Or is there any sort of fix to avoid this state?
Thanks for reporting this, it seems to be an issue with the way we create/lookup our generated uassets which we are doing by string and should be doing by guid.
The only advice I can offer for this is to make sure to use the ‘fixup redirectors’ option after building banks containing renamed or moved objects.
We have a task to improve the way our integration handles the generated uassets, and possibly even removing them completely. But I cannot currently give an ETA on this.