Values in array won't change and compile [Bug?]
Hi Community,
I guess this is a bug in 2018.1.0f2. Once I create an array I can not seem to change the values from Visual Studio. How many times I save and re-start Unity and Visual Studio, old values persist. I appreciate any help. Here is a screenshot of the array while debugging:
Answer by savantedroid · May 08, 2018 at 05:05 AM
The problem was the "public" statement. It makes the inspector record the values and change the values during runtime. So I made the array private and wrote a getter function.
Your answer
Follow this Question
Related Questions
Unity 5.3.5f1 personal + Visual Code 1.3.1 Code Suggestion 1 Answer
Nope: frist time opened unity and this error massage keep showing hlep! 1 Answer
.NET framework targeting issues 0 Answers
Visual Studio issue - Universal windows apps build. Branding 0 Answers
C# noob question (array realated) 1 Answer