react-native-unity-demo
react-native-unity-demo copied to clipboard
test.unity can't has errors need to be fix
when I do the step : Open unity/Cube/Assets/test.unity
the unity 2017 show lot of error needs to be fix, and when I press the run button
It show me the message of "all compiler error have to be fixed before you can enter playmode"
And my unity version is 2017.4.14f1 Personal
Are you using the unity-2017
branch?
I don't know if that's the case, but i had errors too, and for me the problem was that Unity was using by default c#3.5 (deprecated), and the scripts were in c#4.0.
The solution was to configure the project in Unity to use a more recent version of the language:
Edit->Project Settings->Player->Other Settings->Configuration->Scripting Runtime Version
I'm using Unity 2019.1.14f1 personal and master branch of this demo.