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

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -