Mirror version

I am struggling to find the old Mirror version to continue the course. I managed to get as far as the unit selected part with the updated version but it is having an issue with showing the sprite… also I tried to skip to the end to see if that was mentioned in the fixes and I cant seem to locate the problem… hasAuthority was also changed to isOwned which is also not covered in the end fixes.

// Deprecated 2022-10-13
[Obsolete(".hasAuthority was renamed to .isOwned. This is easier to understand and prepares for SyncDirection, where there is a difference betwen isOwned and authority.")]
public bool hasAuthority => isOwned;

I have managed to fix the sprite issue however I do think it is good notice on the hasAuthority issue.

Hi there,
Thank you for pointing out this issue. Mirror is constantly being updated and hasAuthority was deprecated shortly after the most recent updates video was made. Luckily this change is reflected in the Mirror documentation and in posts like these, so future students should be able to make the fix easily.

Glad you figured out the sprite issue, if this is regarding the selection sprite, I believe this was patched into a video. Otherwise, feel free to share you solution here for future students.

Hello Cohen,
Thank you! It brings me joy to know my comment can help the developers and bring to your teams attention the new updates.
In regards to the issue involving my sprite it was much simpler than I thought it made a mistake in copying and pasting the input on update, in the UnitSelectionHandler, I didn’t change the second text to be released.
Thank you for your speedy response!

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms