unity3d - App crashes when using Application.OpenURL with a local file -
here's c# code on hololens:
application.openurl("file://"+ path.combine(application.streamingassetspath, "file.pdf"));
this supposed open microsoft edge url "file://c/data/.../file.pdf" app crashes when running code.
it doesn't crash other http urls though.
how can let edge know want open local file?
try path like:
file:///c:/
not
file://c/
Comments
Post a Comment