CyanLaser / CyanEmu

CyanEmu is a VRChat client emulator in Unity. Includes a player controller with interact system. Works with SDK2 and SDK3.
MIT License
360 stars 15 forks source link

Error in CyanEmuPlayerController.cs when loading CyanEmu #37

Open morganite-proto opened 3 years ago

morganite-proto commented 3 years ago

When loading CyanEmu from the Unity Package, the following error appears in the console. This prevents CyanEmu from loading in properly.

Assets\CyanEmu\Scripts\CyanEmuPlayerController.cs(13,29): error CS0234: The type or namespace name 'PostProcessing' does not exist in the namespace 'UnityEngine.Rendering' (are you missing an assembly reference?)

This is with VRC SDK3 2021.03.22

CyanLaser commented 3 years ago

My first impression is that this could be a bug relating to files in your project. Do you happen to have any classes named "PostProcessing" that isn't the standard post processing package? This can cause compile errors. I ask this as it is similar to the bug that happens when someone has NoodleBowl imported. This package defines a script called Button.cs, which breaks all references to Unity's UI.Button class.