MaterialQualityLevel 0 (or 2) stalls 4.22
Setting MaterialQualityLevel to 0 or 2 crashes (permanently stalls) 4.22 (setting it to 1 has no effect). We only have one material affected by the material quality switch, on medium and high settings this material uses parallax occlusion mapping, and on low it does not. Multiple material instances have this material as their parent. An image of the material graph should be below.
EDIT: Removing the quality settings node from the material graph does not stop the crash from happening. When changed in the editor UE4 stalls for 30 to 60 seconds and then starts recompiling the materials. Again this did not occur in previous versions of the UE4
EDIT 2 After allowing the materials to recompile the editor now crashes fully. The error reporting dialogue states the issue occurs on Line 2039 in the file \Build++UE4\Sync\Engine\Source\Runtime\Engine\Private\Materials\MaterialShared.cpp
This issue was not present in previous versions on the engine.
The project has been recently upgraded to 4.22 from 4.20, a new project was created and content was migrated across, it was not converted in place.
-CPU: Intel(R) Core(TM) i7-5820K CPU @ 3.30GHz, 3301 Mhz, 6 Core(s), 12 Logical Processor(s) -GPU: NVIDIA Geforce GTX 1080 Founders Edition -RAM: 16GB DDR4 -MOTHERBOARD: MSI-7885 -OS: Windows 10 (10.0.17134 Build 17134)
Since the both the
functions cause the engine to crash I'm assuming the
is called, the crash does not occur. My edited version of the function is below:
With this edit a recompile of the editor / engine the crash does not occur.
answered Apr 11 '19 at 01:57 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here