Hey I'm running into the same issue - PBRSurface displays just fine, when I'm using:
occluderMaterial = try await ShaderGraphMaterial.init(
named: "/Root/Object/Occluder",
from: "Immersive",
in: realityKitContentBundle
)
But when I connect OcclusionSurface as CustomSurface it breaks and I get error:
Failed to load a shader material: materialNameNotFound
printed in the console.
I've been testing this on Apple Vision Pro.
Why is it happening am I setting something wrong in the Shader Graph, or is that a bug?
Post
Replies
Boosts
Views
Activity
I'd love to know more about this too!
you won't be able to publish app made with xcode beta on the app store anyway.
Just went through the process - and got this info when I was trying to submit the app for Review via App Store Connect.
Great question, also I cannot see any option to import flat images into the Composer, is it missing yet, or I just can't find it?