Hello.
I have tried to start using Visual Effect, but the VFX do not show up and I get the following error message .
Shader error in 'Hidden/VFX/New VFX/System/Output Particle Quad': undeclared identifier GetWorldToObjectMatrix'at/Unity/Sandbox02_21/Library/PackageCache/com.unity.visualeffectgraph@11.0.0/Shaders/VFXCommon.hlsl(87) (on d3d11)
[New VFX] [System (1)] Initialize Particle.compute: Kernel at index (0) is invalid
[New VFX] [System] Update Particle.compute: Kernel at index (0) is invalid
[New VFX] [System] CameraSort.compute: Kernel at index (0) is invalid UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
The operation I performed is as follows.
0. Create a project with a normal 3D template.
Install UniversalRP 11.0.0 from PackageManager.
Install VisualEffectGraph 11.0.0 from PackageManager.
Create a new VFX file (Create → Visual Effects → Visual Effect Graph) in the Assets folder.
D&D the created VFX to Hierarchy.
Play the scene. The above error message is output.
How can I create and run the VFX correctly?
The version of Unity is 2021.1.0b10.
You are using one of the earliest beta versions of Unity 2021, errors are to be expected. Beta versions of unity should generally not be used productively.
When working with unity betas, you should at least have read through the Unity Beta testing guide
When I made this step: Attach the created file to the top item in ProjectSettings>Graphics. -
the whole of my world (every object and character and terrain) go to be in magenta colour. How can I fix it?