Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: reading and writing a network identity before spawning #400

Merged
merged 4 commits into from
Oct 16, 2020

Conversation

paulpach
Copy link
Contributor

@paulpach paulpach commented Oct 16, 2020

Accessing a syncvar network identity before the object is spawned gives NRE

fixes #399

@paulpach paulpach changed the title Accessing a syncvar network identity gives NRE fix: reading and writing a network identity before spawning Oct 16, 2020
@sonarcloud
Copy link

sonarcloud bot commented Oct 16, 2020

SonarCloud Quality Gate failed.

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

50.0% 50.0% Coverage
0.0% 0.0% Duplication

@paulpach paulpach merged commit 870f49d into master Oct 16, 2020
@paulpach paulpach deleted the nre_sync_ni branch October 16, 2020 18:07
github-actions bot pushed a commit that referenced this pull request Oct 16, 2020
## [49.3.3](v49.3.2...v49.3.3) (2020-10-16)

### Bug Fixes

* reading and writing a network identity before spawning ([#400](#400)) ([870f49d](870f49d)), closes [#399](#399)
@github-actions
Copy link
Contributor

🎉 This PR is included in version 49.3.3 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NRE in [SyncVar] NetworkIdentity when set for a newly instantiated GameObject
2 participants