Debugging RealityKit CustomMaterial shaders

I'm stuck in trying to debug my shader cause it says "Unable to create shader debug session" (something about my metal build setting doesn't have debugging information) and I've tried to follow this : developer.apple.com/documentation/xcode/…

I've made my metal build setting to produce debugging information - Yes, Include source code as instructed

Is it because I'm doing an iOS app instead of macOS?

Answered by Graphics and Games Engineer in 759280022

Hi, unfortunately shader debugging is not supported for CustomMaterial.

Accepted Answer

Hi, unfortunately shader debugging is not supported for CustomMaterial.

Debugging RealityKit CustomMaterial shaders
 
 
Q