Skip to content

Cannot compile compute shader with material graph on 5.1 on macOS #6

@TheEnbyWitch

Description

@TheEnbyWitch

Hello! I tried creating a compute shader with material graph and the compiler is complaining about "MeshDrawCommands.h" not existing, even though it's there in "Runtime/Renderer/Private"

[1/3] Compile Module.ShadeupShaders.cpp
In file included from /Users/vivi/Development/[REDACTED]/Plugins/Dev/ShadeupTest/Intermediate/Build/Mac/x86_64/UnrealEditor/Development/ShadeupShaders/Module.ShadeupShaders.cpp:3:
In file included from /Users/vivi/Development/[REDACTED]/Plugins/Dev/ShadeupTest/Intermediate/Build/Mac/x86_64/UnrealEditor/Inc/ShadeupShaders/UHT/MaskShader.gen.cpp:8:
In file included from /Users/vivi/Development/[REDACTED]/Plugins/Dev/ShadeupTest/Source/ShadeupShaders/Public/MaskShader/MaskShader.h:7:
In file included from Runtime/Renderer/Private/ScenePrivate.h:33:
In file included from Runtime/Renderer/Private/LightSceneInfo.h:15:
In file included from Runtime/Renderer/Private/SceneRendering.h:29:
In file included from Runtime/Renderer/Private/SkyAtmosphereRendering.h:15:
0>/Users/Shared/Epic Games/UE_5.1/Engine/Source/Runtime/Renderer/Private/VirtualShadowMaps/VirtualShadowMapArray.h:7:10: Error  : 'MeshDrawCommands.h' file not found
#include "MeshDrawCommands.h"
         ^~~~~~~~~~~~~~~~~~~~
1 error generated.

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions