Skip to content
This repository has been archived by the owner on Feb 24, 2022. It is now read-only.

Assets/Standard Assets/Cameras/Scripts/TargetFieldOfView.cs(62,53): error CS0246: The type or namespace name 'ParticleRenderer' could not be found (are you missing a using directive or an assembly reference?) #104

Open
raoping2017 opened this issue Jan 26, 2019 · 7 comments

Comments

@raoping2017
Copy link

Assets/Standard Assets/Cameras/Scripts/TargetFieldOfView.cs(62,53): error CS0246: The type or namespace name 'ParticleRenderer' could not be found (are you missing a using directive or an assembly reference?)

@ICEBERG-VR
Copy link

Same pb here after migrating a project from 2018.2 to 2018.3

@YiheChen1995
Copy link

Same problem. Any Idea how this happened?

@daxiao
Copy link

daxiao commented Feb 28, 2019

Same problem

@xooxo
Copy link

xooxo commented Mar 18, 2019

It is because Unity removed all functionality of API regarding ParticleRenderer.

@Stormwaker
Copy link

Just use Unity 2018.2 for this project. Anything newer will cause this error to appear.

@marianpekar
Copy link

As @xooxo said, ParticleRenderer has been removed. ParticleSystemRenderer is need to be used instead.
https://docs.unity3d.com/ScriptReference/ParticleSystemRenderer.html

@MrGT07
Copy link

MrGT07 commented Jan 26, 2022

Just remove that part of the code from the OR condition and it would still works the same as the ParticleRenderer returns "true" anyway.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants