Skip to content

Issue with shaders on MacOS (DockingCamera v1.3.8.0 / KSP 1.11.1) #22

@RobotGuy

Description

@RobotGuy

The issue is basically that everything works except the image which is just a magenta block. Looking at the logs it looks like an issue with the shaders not being compatible in some way. I tested this on a reasonably modded version, but reproduced the issue in a clean copy with just the dependencies.

Environment
KSP : 1.11.1.3066 (OSXPlayer) en-us (64bit)
OS: Mac OS X 10.15.7
CPU: Intel(R) Core(TM) i7-4771 CPU @ 3.50GHz (8)
RAM: 32768
GPU: NVIDIA GeForce GTX 780M OpenGL Engine (4096MB)

Mods Installed
ClickThroughBlocker v0.1.10.15 / v1.0.0.0
ToolbarControl v0.1.9.4 / v1.0.0.0
DockingCamera v1.3.8.0 / v1.0.0.0

Reproduction steps
Build a simple craft in the hanger which includes a camera. Launch the vehicle to the runway
and put on brakes. Open Docking Camera UI from toolbar, right click on camera and turn it on.
Camera UI appears with image only as a magenta background.

Additional notes
I suspect the important part of the logs are where Unity is having trouble finding / loading
the shaders.

(Filename: /Users/builduser/buildslave/unity/build/Runtime/Shaders/Shader.cpp Line: 558)

WARNING: Shader Unsupported: 'DockingCamera/NightVisionClear' - Pass '' has no vertex shader
ERROR: Shader Shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
WARNING: Shader Unsupported: 'DockingCamera/NightVisionClear' - Setting to default shader.
Desired shader compiler platform 15 is not available in shader blob 

Docing Camera Log Files.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions