BabylonJS / BabylonToolkit

Home of the community maintained Unity & Unreal exporters for Babylon.js
179 stars 47 forks source link

Assets/Babylon/Sources/Editors/LightScale.cs(17,37): error CS0122: `UnityEditor.LightEditor' is inaccessible due to its protection level #12

Closed ChampRay closed 5 years ago

ChampRay commented 5 years ago

Everytime I import, this is the error I get.

Assets/Babylon/Sources/Editors/LightScale.cs(17,37): error CS0122: `UnityEditor.LightEditor' is inaccessible due to its protection level

Assets/Babylon/Sources/Editors/LightScale.cs(19,30): error CS0115: `UnityEditor.LightScaleEditor.OnInspectorGUI()' is marked as an override but no suitable method found to override

It doesn't load the toolbar at the top of the unity editor.

I am using Windows 10, Unity 5.63p2 Personal(64 bit)

ChampRay commented 5 years ago

pinging @MackeyK24

MackeyK24 commented 5 years ago

What version of Unity are you using?

ChampRay commented 5 years ago

As written in the original post

I am using Windows 10, Unity 5.63p2 Personal(64 bit)

Are you referring to a different type of version?

MackeyK24 commented 5 years ago

I missed that... But update your unity to latest version... Works with Unity 2018 & 2019 Builds

MackeyK24 commented 5 years ago

I take it updating from unity 5 worked?

ChampRay commented 5 years ago

Yes, thank you very much.

MackeyK24 commented 5 years ago

No Problem :)