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

MeshSaver 'StorageFile' does not contain definition for 'OpenStreamForReadAsync'

Open DrunkReaperMatt opened this issue 9 years ago • 4 comments

I'm having an issue building the project due to this error. I can't seem to find any info on this.

DrunkReaperMatt avatar Aug 16 '17 14:08 DrunkReaperMatt

Thanks for the report.

Can you provide repro steps please?

StephenHodgson avatar Aug 16 '17 15:08 StephenHodgson

@StephenHodgson I bumped into this one yesterday too. I was using Unity v2017.2.0b7 and the toolkit version from the Master branch (so 2017.1.0f3). It seems the error triggers when you try to build with the backend version in the Player Settings set to IL2CPP instead of .NET. And it disappears if you switch to .NET.

ThmsMsqrt avatar Aug 17 '17 09:08 ThmsMsqrt

My current setup for my project is

Unity 2017.1.0f2 Backend: IL2CPP

To bypass this error, i just comment out the problem lines (162 and 189 of MeshSaver.cs)

DrunkReaperMatt avatar Aug 17 '17 11:08 DrunkReaperMatt

Related to https://github.com/Microsoft/MixedRealityToolkit-Unity/issues/265

It looks like we don't exactly support IL2CPP.

StephenHodgson avatar Sep 04 '17 23:09 StephenHodgson