Enabling bShareMaterialShaderCode breaks memory tracking and wastes memory due to issues in ShaderCodeLibrary. It is also worth noting that after cooking with bShareMaterialShaderCode enabled causes the tracking for the pixel and vertex shaders to disappear from the memreport.
Tested in 4.21.2 (CL - 4753647), 4.22.3 (CL - 7053647), 4.23 (CL - 7247482), 4.24 (CL - 7235487)
Expected: The memreports would be identical in terms of shader code memory usage
Result: The memreport that was taken after enabling Share Material Shader code consumes more memory
How does TextureRenderTarget2D get TArray<uint8> type data?
Why does the REMOVE method of map container remove elements have memory leaks?
What is the cause of the packaging error falling back to 'GameUserSettings' in ue5?
UMG RichText not appear image when packaged
How to delete some elements correctly when deleting an array loop?
How do I set a material as a post-processing material?
What is the difference between Camera and CineCamera?
How to assign a value to a member of UMG's UMaterialInterface pointer type in C++?
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-77543 in the post.
1 |
Component | UE - Graphics Features |
---|---|
Affects Versions | 4.23, 4.21.2, 4.22.3 |
Target Fix | 4.24 |
Created | Jul 18, 2019 |
---|---|
Resolved | Sep 19, 2019 |
Updated | Jan 28, 2020 |