1



So what I am trying to do is instantiating a .obj file locally stored on the device AFTER BUILD. I have searched for hours but in vain...
I already managed to make a file explorer in unity, which returns the URL of the selected .obj file. Then I use WWW(string url) load the object.

WWW bundleRequest = new WWW(@"file://" + pathName);

To this point, everything is perfect.
And here is my question: Is there a way to convert the text of the file, so bundleRequest.text to an instantiable GameObject AFTER BUILD? Through any means possible: APIs, extensions, etc.



Thank you in advance

1
  • Dont be daft and get the text representation of your obj file, use the downloadhandler to get the raw data. Commented Feb 25, 2019 at 12:37

1 Answer 1

1

This asset has helped me before, Runtime OBJ Importer, it's free too!

https://assetstore.unity.com/packages/tools/modeling/runtime-obj-importer-49547

Sign up to request clarification or add additional context in comments.

1 Comment

Oh thank you. Ive been searching for days on how to do this but og course I didnt search on the AssetsStore...

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.