IssuesCategory: IgnisShader errors in unity 2021.1.20
Liu Jun asked 1 year ago

Hello.

I’ve done these two steps, but I’m still getting Two shader errors below. And Everything is pink.

=====================
1. Install Visual effects graph 11.0+ from the package manager.
2. Re-import Magio folder (Right-click->Re-import).
=====================

How can i fix it?
Help me, thank you!

Unity version: 2021.1.20f1
Visual Effect Graph: 11.0.0

=======================================

Shader error in ‘Mtree/SRP/Leafs URP’: Couldn’t open include file ‘Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl’. at line 526

Compiling Vertex program
Platform defines: SHADER_API_DESKTOP UNITY_COLORSPACE_GAMMA UNITY_ENABLE_DETAIL_NORMALMAP UNITY_ENABLE_REFLECTION_BUFFERS UNITY_LIGHTMAP_FULL_HDR UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_PASS_SHADOWCASTER UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BLENDING UNITY_SPECCUBE_BOX_PROJECTION UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS
Disabled keywords: FOG_EXP FOG_EXP2 FOG_LINEAR INSTANCING_ON LOD_FADE_CROSSFADE SHADER_API_GLES30 UNITY_ASTC_NORMALMAP_ENCODING UNITY_ENABLE_NATIVE_SHADOW_LOOKUPS UNITY_HALF_PRECISION_FRAGMENT_SHADER_REGISTERS UNITY_HARDWARE_TIER1 UNITY_HARDWARE_TIER2 UNITY_HARDWARE_TIER3 UNITY_LIGHTMAP_DLDR_ENCODING UNITY_LIGHTMAP_RGBM_ENCODING UNITY_METAL_SHADOWS_USE_POINT_FILTERING UNITY_NO_DXT5nm UNITY_NO_FULL_STANDARD_SHADER UNITY_NO_SCREENSPACE_SHADOWS UNITY_PBS_USE_BRDF2 UNITY_PBS_USE_BRDF3 UNITY_PRETRANSFORM_TO_DISPLAY_ORIENTATION UNITY_VIRTUAL_TEXTURING
============================================

Shader error in ‘Mtree/SRP/Bark URP’: Couldn’t open include file ‘Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl’. at line 419

Compiling Fragment program with INSTANCING_ON
Platform defines: SHADER_API_DESKTOP UNITY_COLORSPACE_GAMMA UNITY_ENABLE_DETAIL_NORMALMAP UNITY_ENABLE_REFLECTION_BUFFERS UNITY_LIGHTMAP_FULL_HDR UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_PASS_SHADOWCASTER UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BLENDING UNITY_SPECCUBE_BOX_PROJECTION UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS
Disabled keywords: FOG_EXP FOG_EXP2 FOG_LINEAR LOD_FADE_CROSSFADE SHADER_API_GLES30 UNITY_ASTC_NORMALMAP_ENCODING UNITY_ENABLE_NATIVE_SHADOW_LOOKUPS UNITY_HALF_PRECISION_FRAGMENT_SHADER_REGISTERS UNITY_HARDWARE_TIER1 UNITY_HARDWARE_TIER2 UNITY_HARDWARE_TIER3 UNITY_LIGHTMAP_DLDR_ENCODING UNITY_LIGHTMAP_RGBM_ENCODING UNITY_METAL_SHADOWS_USE_POINT_FILTERING UNITY_NO_DXT5nm UNITY_NO_FULL_STANDARD_SHADER UNITY_NO_SCREENSPACE_SHADOWS UNITY_PBS_USE_BRDF2 UNITY_PBS_USE_BRDF3 UNITY_PRETRANSFORM_TO_DISPLAY_ORIENTATION UNITY_VIRTUAL_TEXTURING

1 Answers
Thomas Staff answered 1 year ago

Hello!
You need to import Magio in URP or HDRP project. If you are using URP you need to install Visual effects graph separately. After that you need to open demo scene which corresponds your rendering pipeline. If you have URP project open Demo/URP, if you have HDRP project open Demo/HDRP.
The errors you are getting are just the demo scene tree shader. If you do not want to see them uncheck the demo scene you are not using during the import.
 
I hope this helps!
All the best,
Thomas

Thomas Staff replied 1 year ago

Here is also a video for installation: https://youtu.be/8RCEZDQuCwk

When making a new project make sure to use “High definition rendering pipeline” or “Universal Rendering Pipeline”

Your Answer