Search Issue Tracker

Fixed

Fixed in 1.0.0-pre.10

Votes

3

Found in [Package]

1.0.0-pre.6

Issue ID

NCCBUG-162

Regression

No

[Multiplayer Netcode for GameObjects] NetworkBehaviourReference TryGet method throws error when trying to get a component that i

Package: Multiplayer Netcode for GameObjects

-

Reproduction steps:
1. Open the attached 'NGO-bug-reporting' project
2. Open the 'SampleScene'
3. Enter Play mode
4. Observe the 'NetworkManager' GameObject in the Inspector and click on the 'Start as Host'

Expected result: No errors are in the Console
Actual result: 'InvalidCastException: Specified cast is not valid' is thrown in the Console

Reproducible with: 1.0.0-pre.6 (2020.3.16f1)

This user has reported the Issue on GitHub: https://github.com/Unity-Technologies/com.unity.netcode.gameobjects/issues/1825

It has clear repro steps and communication will happen in GitHub.

Bypassing QA Incoming to move to to NCCBUG Jira project.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.