I don't understand how this is possible but unity engine refused to include ParticleSystem when referenced.
![alt text][1]
I have tried manually adding the assembly. As you can see it works just fine in Assembly-CSharp-Editor
![alt text][2]
however this makes it compile *once* only in visual studio, the second i jump back to the editor the error stays.
the type name 'ParticleSystem' could not be found in the namespace 'UnityEngine'. This type has been forwarded to assembly 'UnityEngine.ParticleSystemModule'
Everytime i add the reference in visual studio, the build works ONLY in visual studio, untiy can't compile it, closing and re-opening vs instantly removes the reference and it can no longer compile.
How do i fix this? why is a very basic core module not being included?
Unity is version 2021.3.5f1
[1]: /storage/temp/203982-devenv-nhrjcb62pl.png
[2]: /storage/temp/203983-devenv-ze78z3c6w4.png
↧