I’ve been working on a map for Unreal Tournament, [CTF-Elemental][1], and I’m running into this error/crash after attempting to build lighting (of any quality). The lighting build will complete (100%), but during it’s final processing stages, the editor crashes with the following error:
A FRenderResource was deleted without
being released first!
This project incorporates the Elemental demo assets provided by Epic, and I have done a fair amount of deleting and modifying of those assets, which included removing a number of tracks from the level’s main Matinee. My assumption was that I simply deleted something I shouldn’t have, so today I actually started over fresh with clean downloads of all assets & engines, but to no avail.
I have attempted to build lighting for this level in the following engine versions, receiving the same crash each time:
- 4.6.0 binary
- 4.6.0 github source
- 4.6.1 binary
However, I do have a similar (older) build of this level in a non-UT version of the 4.6.0 engine. Building lighting in the non-UT version always succeeds, and the editor does not crash.
Knowing that I had a known good version, I migrated the level and it’s contents into a new UT project, and then attempted to rebuild lighting. Once it was in a UT version of the editor, building lighting would once again cause a crash with an FRenderResource error.
That’s an incredibly cryptic error, and doesn’t give me a lot to go on. I’ve written no custom C++ code for this project, and custom blueprints have been kept to a minimum. I assume I need to null out a reference somewhere, but I have no clue where to begin searching for it.
Again, this crash seems to only occur after building lighting, and only in a UT-ready version of the editor. I’ve never experienced a crash with this error in any other situation.
Any thoughts? Some help here would be hot, I’d love to get this map into player’s hands asap!