Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

About UE-47531

I came across a weird issue where the Engine would crash in FMaterial::GetShader if the scene being loaded has a translucent material assigned to a mesh, and an atmospheric fog. A temporary solution (that worked for me) would be to remove the atmospheric fog. Unfortunately, I haven't been able to replicate this issue in a blank project.

Technical details :

After spending a lot of time on debugging UE with the source code, I figured out that the mesh shader map inside the material only had 21 shaders rather than 44 shaders like every other material. In my opinion it sounds like shaders were partially compiled in the material.

For Epic developers : I can either send a dmp file of the crash or give you an access to my project (which is relatively big) so you can easily replicate this bug.

Product Version: UE 4.22
more ▼

asked Apr 17 '19 at 02:06 PM in Rendering

avatar image

25 2 9 11

avatar image Ley0k Apr 18 '19 at 11:22 AM

I was able to reproduce the potential cause of the issue where shader compiling would not be triggered and I suspect that it would be the cause of the crash.

I have attached a blank project with a code that make it possible to replicate the potential cause of the issue (not the crash however).

Steps to reproduce :

1) Clear your DDC folder

2) Compile and open the project

3) Open the level /Game/Maps/UE-47531

You should now see two static meshes in the scene, showing the default material : they both should have different materials which are not compiling.

crashtest.zip (158.7 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question