StandaloneFileBrowser can't be found

De TriLib
Revisão de 09h11min de 18 de maio de 2024 por Trilib (discussão | contribs)
(dif) ← Edição anterior | Revisão atual (dif) | Versão posterior → (dif)
Ir para navegação Ir para pesquisar

TriLib comes with a custom version of StandaloneFileBrowser (the original can be found here: https://github.com/gkngkc/UnityStandaloneFileBrowser)

It is an optional package, and if you don't want to use it, you can import only the "TriLibCore" (and the folder from your rendering pipeline, in case you're using anything other than the Standard rendering pipeline) folder from the TriLib package.

When building/running your application, you may get a message saying "StandaloneFileBrowse can't be found" or something similar.


Generally, this happens because the appropriate StandaloneFileBrowser plugin hasn't been included in your build project.

You can fix these issues by doing the following:

To make sure StandaloneFileBrowser is included in your build project, head to the "Assets/TriLib/TriLibStandaloneFileBrowser/Plugins" directory and look for the plugin file according to the platform you will deploy to. In this case, I'm selecting the "x64" StandaloneFileBrowser plugin inside the "Windows" folder, as I will deploy my application to Windows x64 devices.


You can then select the appropriate architecture you want the selected plugin to be used, then click "Apply".
Plugin directories
Platform Directory
Android Android
iOS iOS
Linux Linux
OSX StandaloneFileBrowser.bundle
Windows Windows
WebGL StandaloneFileBrowser.jslib