nixon-voxell / UnityNLP

Natural Language Processing in Unity.
https://unitynlp.readthedocs.io/
Apache License 2.0
62 stars 6 forks source link

Assembly Issue when exporting to Android Device #11

Open eschles opened 1 year ago

eschles commented 1 year ago

Describe the bug I keep receiving this warning when exporting my application to Android: Assembly for Assembly Definition File 'Packages/voxell.ai/Runtime/VX.AI.Runtime.asmdef' will not be compiled, because it has no scripts associated with it. UnityEditor.Scripting.ScriptCompilation.EditorCompilationInterface:CompileScripts (UnityEditor.Scripting.ScriptCompilation.EditorScriptCompilationOptions,UnityEditor.BuildTargetGroup,UnityEditor.BuildTarget,string[])

I have already attempted reimporting the package, and the issue persists.

To Reproduce For reference, I am using the VX AI, VX NLP, and VX Util packages, with the proper models located inside of the StreamingAssets folder.

Expected behavior The UnityNLP packages work perfectly in my project when in the Unity Editor, but doesn't work at all in my Android apk.

Screenshots screenshot

Desktop (please complete the following information):

Smartphone (please complete the following information):

nixon-voxell commented 1 year ago

Looks like a harmless warning, it just means that it will not compile because there are no scripts in it. If that's the case, just ignore the warning. for the errors, just ignore them too, it's just license files

nixon-voxell commented 1 year ago

I think it does not work because of StreamingAssets works differently on Android, you might want to place them in some other special folder locations or something..