Building an Android version of our game, using TMP 1.5.1 and Unity 2018.4.23f1, causes TMPro.EditorUtilities.FontAssetPostProcessor
to output various warnings during the build.
Here are the relevant lines from the editor.log file:
Refreshing native plugins compatible for Editor in 1.08 ms, found 3 plugins.
Invalid AssetDatabase path: D:/tools/Unity2018.4.23f1/Editor/Data/UnityExtensions/Unity/VR/iOS/libaudiopluginresonanceaudio.a. Use path relative to the project folder.
UnityEditor.AssetDatabase:GetMainAssetTypeAtPath(String)
TMPro.EditorUtilities.FontAssetPostProcessor:OnPostprocessAllAssets(String[], String[], String[], String[]) (at Library\PackageCache\com.unity.textmeshpro@1.5.1\Scripts\Editor\TMPro_TexturePostProcessor.cs:31)
System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&)
System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
System.Reflection.MethodBase:Invoke(Object, Object[])
UnityEditor.AssetPostprocessingInternal:PostprocessAllAssets(String[], String[], String[], String[], String[]) (at C:\buildslave\unity\build\Editor\Mono\AssetPostprocessor.cs:141)
[C:\buildslave\unity\build\artifacts/generated/bindings_old/common/Editor/AssetDatabaseBindings.gen.cpp line 29]
(Filename: Library/PackageCache/com.unity.textmeshpro@1.5.1/Scripts/Editor/TMPro_TexturePostProcessor.cs Line: 31)
Invalid AssetDatabase path: D:/tools/Unity2018.4.23f1/Editor/Data/UnityExtensions/Unity/VR/Android/gvr.aar. Use path relative to the project folder.
UnityEditor.AssetDatabase:GetMainAssetTypeAtPath(String)
TMPro.EditorUtilities.FontAssetPostProcessor:OnPostprocessAllAssets(String[], String[], String[], String[]) (at Library\PackageCache\com.unity.textmeshpro@1.5.1\Scripts\Editor\TMPro_TexturePostProcessor.cs:31)
System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&)
System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
System.Reflection.MethodBase:Invoke(Object, Object[])
UnityEditor.AssetPostprocessingInternal:PostprocessAllAssets(String[], String[], String[], String[], String[]) (at C:\buildslave\unity\build\Editor\Mono\AssetPostprocessor.cs:141)
[C:\buildslave\unity\build\artifacts/generated/bindings_old/common/Editor/AssetDatabaseBindings.gen.cpp line 29]
(Filename: Library/PackageCache/com.unity.textmeshpro@1.5.1/Scripts/Editor/TMPro_TexturePostProcessor.cs Line: 31)
Invalid AssetDatabase path: D:/tools/Unity2018.4.23f1/Editor/Data/UnityExtensions/Unity/VR/android_arm/libaudiopluginresonanceaudio.so. Use path relative to the project folder.
UnityEditor.AssetDatabase:GetMainAssetTypeAtPath(String)
TMPro.EditorUtilities.FontAssetPostProcessor:OnPostprocessAllAssets(String[], String[], String[], String[]) (at Library\PackageCache\com.unity.textmeshpro@1.5.1\Scripts\Editor\TMPro_TexturePostProcessor.cs:31)
System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&)
System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
System.Reflection.MethodBase:Invoke(Object, Object[])
UnityEditor.AssetPostprocessingInternal:PostprocessAllAssets(String[], String[], String[], String[], String[]) (at C:\buildslave\unity\build\Editor\Mono\AssetPostprocessor.cs:141)
[C:\buildslave\unity\build\artifacts/generated/bindings_old/common/Editor/AssetDatabaseBindings.gen.cpp line 29]
(Filename: Library/PackageCache/com.unity.textmeshpro@1.5.1/Scripts/Editor/TMPro_TexturePostProcessor.cs Line: 31)
Invalid AssetDatabase path: D:/tools/Unity2018.4.23f1/Editor/Data/UnityExtensions/Unity/VR/Android/unitygvr.aar. Use path relative to the project folder.
UnityEditor.AssetDatabase:GetMainAssetTypeAtPath(String)
TMPro.EditorUtilities.FontAssetPostProcessor:OnPostprocessAllAssets(String[], String[], String[], String[]) (at Library\PackageCache\com.unity.textmeshpro@1.5.1\Scripts\Editor\TMPro_TexturePostProcessor.cs:31)
System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&)
System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
System.Reflection.MethodBase:Invoke(Object, Object[])
UnityEditor.AssetPostprocessingInternal:PostprocessAllAssets(String[], String[], String[], String[], String[]) (at C:\buildslave\unity\build\Editor\Mono\AssetPostprocessor.cs:141)
[C:\buildslave\unity\build\artifacts/generated/bindings_old/common/Editor/AssetDatabaseBindings.gen.cpp line 29]
(Filename: Library/PackageCache/com.unity.textmeshpro@1.5.1/Scripts/Editor/TMPro_TexturePostProcessor.cs Line: 31)
Invalid AssetDatabase path: D:/tools/Unity2018.4.23f1/Editor/Data/UnityExtensions/Unity/VR/Linux64/libaudiopluginresonanceaudio.so. Use path relative to the project folder.
UnityEditor.AssetDatabase:GetMainAssetTypeAtPath(String)
TMPro.EditorUtilities.FontAssetPostProcessor:OnPostprocessAllAssets(String[], String[], String[], String[]) (at Library\PackageCache\com.unity.textmeshpro@1.5.1\Scripts\Editor\TMPro_TexturePostProcessor.cs:31)
System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&)
System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
System.Reflection.MethodBase:Invoke(Object, Object[])
UnityEditor.AssetPostprocessingInternal:PostprocessAllAssets(String[], String[], String[], String[], String[]) (at C:\buildslave\unity\build\Editor\Mono\AssetPostprocessor.cs:141)
[C:\buildslave\unity\build\artifacts/generated/bindings_old/common/Editor/AssetDatabaseBindings.gen.cpp line 29]
(Filename: Library/PackageCache/com.unity.textmeshpro@1.5.1/Scripts/Editor/TMPro_TexturePostProcessor.cs Line: 31)
Invalid AssetDatabase path: D:/tools/Unity2018.4.23f1/Editor/Data/UnityExtensions/Unity/VR/OSXIntel64/audiopluginresonanceaudio.bundle. Use path relative to the project folder.
UnityEditor.AssetDatabase:GetMainAssetTypeAtPath(String)
TMPro.EditorUtilities.FontAssetPostProcessor:OnPostprocessAllAssets(String[], String[], String[], String[]) (at Library\PackageCache\com.unity.textmeshpro@1.5.1\Scripts\Editor\TMPro_TexturePostProcessor.cs:31)
System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&)
System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
System.Reflection.MethodBase:Invoke(Object, Object[])
UnityEditor.AssetPostprocessingInternal:PostprocessAllAssets(String[], String[], String[], String[], String[]) (at C:\buildslave\unity\build\Editor\Mono\AssetPostprocessor.cs:141)
[C:\buildslave\unity\build\artifacts/generated/bindings_old/common/Editor/AssetDatabaseBindings.gen.cpp line 29]
(Filename: Library/PackageCache/com.unity.textmeshpro@1.5.1/Scripts/Editor/TMPro_TexturePostProcessor.cs Line: 31)
Invalid AssetDatabase path: D:/tools/Unity2018.4.23f1/Editor/Data/UnityExtensions/Unity/VR/android_arm64/libaudiopluginresonanceaudio.so. Use path relative to the project folder.
UnityEditor.AssetDatabase:GetMainAssetTypeAtPath(String)
TMPro.EditorUtilities.FontAssetPostProcessor:OnPostprocessAllAssets(String[], String[], String[], String[]) (at Library\PackageCache\com.unity.textmeshpro@1.5.1\Scripts\Editor\TMPro_TexturePostProcessor.cs:31)
System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&)
System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
System.Reflection.MethodBase:Invoke(Object, Object[])
UnityEditor.AssetPostprocessingInternal:PostprocessAllAssets(String[], String[], String[], String[], String[]) (at C:\buildslave\unity\build\Editor\Mono\AssetPostprocessor.cs:141)
[C:\buildslave\unity\build\artifacts/generated/bindings_old/common/Editor/AssetDatabaseBindings.gen.cpp line 29]
(Filename: Library/PackageCache/com.unity.textmeshpro@1.5.1/Scripts/Editor/TMPro_TexturePostProcessor.cs Line: 31)
Invalid AssetDatabase path: D:/tools/Unity2018.4.23f1/Editor/Data/UnityExtensions/Unity/VR/Android/libprotobuf-java-nano.jar. Use path relative to the project folder.
UnityEditor.AssetDatabase:GetMainAssetTypeAtPath(String)
TMPro.EditorUtilities.FontAssetPostProcessor:OnPostprocessAllAssets(String[], String[], String[], String[]) (at Library\PackageCache\com.unity.textmeshpro@1.5.1\Scripts\Editor\TMPro_TexturePostProcessor.cs:31)
System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&)
System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
System.Reflection.MethodBase:Invoke(Object, Object[])
UnityEditor.AssetPostprocessingInternal:PostprocessAllAssets(String[], String[], String[], String[], String[]) (at C:\buildslave\unity\build\Editor\Mono\AssetPostprocessor.cs:141)
[C:\buildslave\unity\build\artifacts/generated/bindings_old/common/Editor/AssetDatabaseBindings.gen.cpp line 29]
(Filename: Library/PackageCache/com.unity.textmeshpro@1.5.1/Scripts/Editor/TMPro_TexturePostProcessor.cs Line: 31)
Any chance you can fix this issue? I’m aiming for zero warnings during a build.