VRCBilliards / vrcbce

VRCBilliards: Community Edition
MIT License
307 stars 37 forks source link

CSharp does exist in the name space Microsoft.CodeAnalysis #136

Closed RavuRaku closed 2 years ago

RavuRaku commented 2 years ago

I'm somewhat new to making VRChat worlds. When I import the Billiards prefab into my world, I get 240 errors with the majority of the errors being that "CSharp does exist in the name space Microsoft.CodeAnalysis". I wasn't able to find any answers online and there was someone else having the same issue online with someone responding with they should contact the creator, so here I am also looking for an answer. Screenshot 2021-12-27 203951

Legoman99573 commented 2 years ago

Check what you have imported in the project as there is some script that conflicts with UdonSharp. Start a new project and just only import sdk 3, udon sharp, and the pool table prefab and then slowly import other scripts. It should narrow down what script or bundle is causing it.

RavuRaku commented 2 years ago

Thank you for the response. While adding scripts into the new project with UdonSharp, SDK3, and the prefab, I decided to retry adding it into my main project and it appears the error occurs when I try to import the Billiards stuff into a folder in assets rather than importing to assets itself. I no longer get any errors, but I do get some warnings. It appears these are preventing the start button from working in Build&Test. image Update: After reimporting, the prefab seems to be working perfectly well.