I’m getting some unexplainable things going on here with 2020.1.2f1. A few lectures ago I had a bug that presented itself in the Build if it was the host. Now I’m finding the Editor will not spawn the UnitSpawner prefab which prevents any gameplay from being possible. Meanwhile, everything works perfectly in the Build (including all the selection code we added).
I’m very curious where all this odd behaviour is coming from. The course is already incredibly taxing on my poor brain, let alone with these random things that are showing up!
Update: I downloaded this lecture’s code from the Gitlab repo and can confirm the same behaviour in the Editor with @Nathan_Farrer’s code. However, I’m seeing different behaviour in the Build, where the unit selection indicator (green circle) isn’t showing! I’m convinced it’s at least a macOS issue now though, and not a misstep on my behalf.