• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by sh0ou · Mar 11, 2021 at 06:17 AM · error messagebetavisual-effects

Visual Effect Graph does not work with URP.

Hello.
I have tried to start using VisualEffect, 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.
1.Install UniversalRP 11.0.0 from PackageManager.
2.Install VisualEffectGraph 11.0.0 from PackageManager.
3.Create a new VFX file (Create>VisualEffects>Visual Effect Graph) in the Assets folder.
4.D&D the created VFX to Hierarchy.
5.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.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

3 Replies

· Add your reply
  • Sort: 
avatar image
8
Best Answer

Answer by sh0ou · Mar 12, 2021 at 05:31 AM

Self solved.
1. Go to ProjectSettings>Player>OtherSettings and change ColorSpace to Linear.
2. Create>Rendering>URP>Pipeline Asset(Forward Renderer) in any folder in the Project window.
3.Attach the created file to the top item in ProjectSettings>Graphics.
4.Reimport the VFX file.

Comment
Add comment · Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image CrossV4 · May 16, 2021 at 11:38 AM 0
Share

Create>Rendering>URP>Pipeline Asset(Forward Renderer) <--- I don't have these...

avatar image mateuszwallace · Aug 29, 2021 at 08:01 PM 0
Share

Then install Universal Render Pipeline into an existing Project via Package Manager: Universal RP. https://docs.unity3d.com/Packages/com.unity.render-pipelines.universal@7.2/manual/InstallURPIntoAProject.html

avatar image kaksaveksaka · Dec 12, 2021 at 09:43 AM 0
Share

Much appreciated, worked perfectly after wandering around multiple threads.

avatar image
0

Answer by AbandonedCrypt · Mar 11, 2021 at 10:53 AM

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

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image sh0ou · Mar 11, 2021 at 11:52 AM 0
Share

Thank you for your answer. I tried it with Unity 2020.2.7f1, but the same thing happened and the VFX didn't work properly.

avatar image CrossV4 · May 16, 2021 at 11:34 AM 0
Share

yes i curretly use 2020 version i have same error, now i'm trying this man's solved answer. I will be back

avatar image
0

Answer by bg_argonaut · Jun 01 at 05:10 PM

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?

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

123 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Invalid Il Code Error (IL_000f: call 0x0a00000d),Invalid Il code Error (IL_000f: call 0x0a00000d) 0 Answers

Unreseolved NullReferenceException: Object reference not set to an instance of an object 2 Answers

My dagger attached to an enemy won't detect it's parent's Ai Script 1 Answer

error CS1525: unexpected symbol `.' | how can I fix this code? 1 Answer

Xbox Unity D3D11 Failed to Create 2d Texture to GfxDeviceD3D11 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges