Hi,
Loving the course and Rick’s delivery. I even purchased a second monitor and wall mounted it so I can view the tutorial videos on one screen as I type along on another. This lecture is the first time I’ve been stumped by something not matching what Rick has on screen.
Has the latest Unity update (December 18, 2018.3) changed the way Prefabs are presented?
I have created the Path (0) prefab as Rick did but I no longer have the > icon to the right of the prefab when looking in the Assets/Prefab folder. That means I cannot copy the three waypoints to the enemyPathing script serialized field list attached the to enemy ship prefab.
When I open my enemy ship prefab the list elements are empty. I can attach to the instanced ship game object as the hierarchy lists the waypoints but if I try to attach them to the prefab the hierarchy view changes to the ‘new’ hierarchy detail view for the ship game object and I lose the view of the Path (0) and nested waypoint objects. I have tried locking the inspector to the ship prefab view but every time I click on hierarchy the inspector changes despite being locked.
When I view the ship prefab in the inspector the list elements are empty even if I have applied them from the instanced ship object. Clicking the circle icon to search for elements to add results in blanks.
However, I can add waypoints to the list for the instanced ship object. I have then applied all to save that to the prefab but the prefab still shows as missing transforms. Even if I delete the prefab and copy the instanced ship object from the scene hierarchy the waypoint transforms disappear when I view the prefab in the inspector.
I cannot break the cycle of the new prefab detail view altering what is displayed in the hierarchy when I click on Path (0).
By the way, the code executes perfectly with the instanced ship game object as the enemy follows the waypoints. I’ve even increased the list count size and added more waypoints.