vrchat-community / UdonSharp

A compiler for compiling C# to Udon assembly
https://udonsharp.docs.vrchat.com
MIT License
470 stars 50 forks source link

Script asset '...' found for type '...' actually has type 'UnityEditor.MonoScript' this is not valid. #81

Closed Xytabich closed 1 year ago

Xytabich commented 1 year ago

Most likely GetClass should be called here instead of GetType: https://github.com/vrchat-community/UdonSharp/blob/34c671fa94d04033e5c3db845a01d7779d20f8ef/Packages/com.vrchat.UdonSharp/Editor/UdonSharpEditorManager.cs#L1476