I'm encountering an issue when trying to import STL files using pb_Stl from the "StreamingAssets" folder after building the project. Specifically, while I can import the STL file during runtime when it is placed under the Assets folder or any custom path (like Assets/customPath), I am unable to import it when the file is located in the "StreamingAssets" folder - which restrics me from building the project.
This issue only occurs after building the project, and the file cannot be imported from the "StreamingAssets" folder at that point. However, everything works fine when running without a build.
Steps to reproduce:
Unity Version 2021.3.45f1
- Place an STL file in the "Assets/StreamingAssets" folder.
- Attempt to import the STL file at runtime using pb_Stl.
- Notice that the import fails.
Expected behavior: STL files in the "StreamingAssets" folder should be successfully imported.
Questions:
- How can I resolve this issue?
- Is there an alternative way to structure the project or handle file imports for build purposes?
Thank you in advance for any suggestions or solutions!
I'm encountering an issue when trying to import STL files using pb_Stl from the "StreamingAssets" folder after building the project. Specifically, while I can import the STL file during runtime when it is placed under the Assets folder or any custom path (like Assets/customPath), I am unable to import it when the file is located in the "StreamingAssets" folder - which restrics me from building the project.
This issue only occurs after building the project, and the file cannot be imported from the "StreamingAssets" folder at that point. However, everything works fine when running without a build.
Steps to reproduce:
Unity Version 2021.3.45f1
Expected behavior: STL files in the "StreamingAssets" folder should be successfully imported.
Questions:
Thank you in advance for any suggestions or solutions!