Failed to open Source file at line 61 and 238
Posted: Fri Nov 09, 2018 12:37 pm
Hello, I have just got your amplify shader editor and have been trying to get it setup properly...
I was using unity 2018.2.14f1
I am now using Unity 2018.2.15f1
The problem is the same in both...
I am using the Lightweight Render Pipeline
on inporting the asset, there are a bunch of errors (60)
All seem to start with
for example the first one is
I tried just clearing the errors, but it seems things are broken for example I need to install the LWSRPTemplates.unitypackage - but it doesnt have a proper icon and doesnt seem to work as intended.
The package does extract but with more errors...
I still tried to make a shader and just plugged a colour node in to the albedo as lightweight pipeline and I get the following error..
This only seems to be happening on the lightweight render pipeline, if I put ASE in standard surface shader mode that works fine.
any help to get this working would be great
thanks in advance for your time and effort
p.s I have also downloaded and reinstalled the asset several times without any luck
I was using unity 2018.2.14f1
I am now using Unity 2018.2.15f1
The problem is the same in both...
I am using the Lightweight Render Pipeline
on inporting the asset, there are a bunch of errors (60)
All seem to start with
- Code: Select all
Shader properties can't be added to this global property sheet. Trying to ad
for example the first one is
- Code: Select all
Shader properties can't be added to this global property sheet. Trying to add _GrabTexture (type 3 count 1)UnityEditor.AssetPreviewUpdater:CreatePreviewForAsset(Object, Object[], String)
I tried just clearing the errors, but it seems things are broken for example I need to install the LWSRPTemplates.unitypackage - but it doesnt have a proper icon and doesnt seem to work as intended.
The package does extract but with more errors...
- Code: Select all
Shader error in 'Hidden/Templates/LightWeightSRPUnlit': failed to open source file: 'Packages/com.unity.render-pipelines.lightweight/ShaderLibrary/Core.hlsl' at line 52 (on d3d11)
- Code: Select all
Shader error in 'Hidden/Templates/LightWeightSRPPBR': failed to open source file: 'Packages/com.unity.render-pipelines.lightweight/ShaderLibrary/Core.hlsl' at line 67 (on d3d11)
I still tried to make a shader and just plugged a colour node in to the albedo as lightweight pipeline and I get the following error..
- Code: Select all
Shader error in 'Test Substance': failed to open source file: 'Packages/com.unity.render-pipelines.lightweight/ShaderLibrary/Core.hlsl' at line 238 (on d3d11)
This only seems to be happening on the lightweight render pipeline, if I put ASE in standard surface shader mode that works fine.
any help to get this working would be great
thanks in advance for your time and effort
p.s I have also downloaded and reinstalled the asset several times without any luck