Crash on material deletion/rename #386
Labels
Bug
Something isn't working
Crash
Something that causes a crash
Critical
Something that should be fixed quickly
Good First Issue
An easy issue for new contributors
Milestone
Description
Crash when renaming/deleting a material.
Only happens when Overload.exe is located in a protected folder (which requires admin rights), i.e. "Program Files".
In
EditorActions.cpp
, we create a temporary file when propagating rename:And creating this temporary file isn't permitted from a protected folder. We should instead use the operating system's provided temporary folder.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The editor shouldn't crash when deleting or renaming a material.
Screenshots
If applicable, add screenshots to help explain your problem.
Call Stack
The text was updated successfully, but these errors were encountered: