The scene is working fine here. Have you tried to do a fresh PC reboot and just run LuxCoreUI ? Without Blender.

Are you rendering the same scene with multiple applications at the same time ? Like Blender preview and rendering or LuxCoreUI ?

Normally when running LuxCoreUI I have the file explorer open and the .cfg file in notepad so I can make adjustments but I just tested again after reboot with nothing running except LuxCoreUI and still the error pops up.

Does it happen only if the .pgi file already exist ? I mean, it can not happen if the file doesn't exist ... or it still does ?

Does it happen only if the .pgi file already exist ? I mean, it can not happen if the file doesn't exist ... or it still does ?

So I was going to delete the .pgi file from the folder and found that there are three of them, with different names like a long string of hex numbers.
Apparently every time I try to render the scene a new cache file gets created.
I deleted all of them and opened the .cfg file with LuxCoreUI which led to the same error as always and a new .pgi file being created within the scene folder.

Does it happen only if the .pgi file already exist ? I mean, it can not happen if the file doesn't exist ... or it still does ?

So I was going to delete the .pgi file from the folder and found that there are three of them, with different names like a long string of hex numbers.
Apparently every time I try to render the scene a new cache file gets created.
I deleted all of them and opened the .cfg file with LuxCoreUI which led to the same error as always and a new .pgi file being created within the scene folder.

It is the behavior of the "SafeSave" (https://github.com/LuxCoreRender/LuxCor ... fesave.cpp): it creates a temporary file, rename if exists the old file by adding a .old at the end and rename the temporary file to the final name. The last operation fails, apparently because the temporary file is still open.