MixedRealityToolkit-Unity icon indicating copy to clipboard operation
MixedRealityToolkit-Unity copied to clipboard

SharingSpawnTest scene throws null reference exception on device

Open HattMarris1 opened this issue 9 years ago • 4 comments

I'm using latest version of the master branch, unity 2017.1.2f1.

I've made sure the Internet client server and private network server are checked.

image

I get this error in the roomandanchortest scene as well.

Thanks,

HattMarris1 avatar Oct 16 '17 16:10 HattMarris1

What's null? The SharingWorldAnchorManager.Instance or the gameObject you're passing in?

StephenHodgson avatar Oct 16 '17 17:10 StephenHodgson

If I remember correctly I dont think those example scenes have SharingWorldAnchorManager on either the Stage gameobject or SharingManager. If you add them it should fix it

EDIT: grammar

kyleWillson avatar Oct 16 '17 18:10 kyleWillson

@kyleWillson that fixed it, thanks!

Shall I open a PR for this?

HattMarris1 avatar Oct 17 '17 08:10 HattMarris1

Sure

StephenHodgson avatar Oct 17 '17 13:10 StephenHodgson