18-04-2021, 07:04 PM
(This post was last modified: 18-04-2021, 07:21 PM by MikhailVasilev.)
How to Use it for Android?
Just bought the plugin but it works only in Unity Editor
I tied to make a build for Android and PC and it gives me a bunch of errors out of the box!
How to make a build for Android with Obi SoftBody guys?
I'm new but already know some programming and unity things, and I suppose it should build out of the box, I even installed these Burst, Jobs and friends but it still gives me a lot of errors!
----
Specs:
Win10 64 bit
Unity 2020.1.0f1 Personal
No extra packages and plugins
Everything is default
I try to compile Example scenes and my scene(put it in Build Settings)
----
Here are some of Errors vvv
Found how to Fix it!!!
I just put Obi folder to Editor folder
Editor folder is the Default project folder! Those small things you need to know ))
Now so far so good, everything works pretty well on mobile.
Just bought the plugin but it works only in Unity Editor
I tied to make a build for Android and PC and it gives me a bunch of errors out of the box!
How to make a build for Android with Obi SoftBody guys?
I'm new but already know some programming and unity things, and I suppose it should build out of the box, I even installed these Burst, Jobs and friends but it still gives me a lot of errors!
----
Specs:
Win10 64 bit
Unity 2020.1.0f1 Personal
No extra packages and plugins
Everything is default
I try to compile Example scenes and my scene(put it in Build Settings)
----
Here are some of Errors vvv
Code:
Unable to find player assembly: J:\UNITY\ObiSoftBodyTest\Temp\StagingArea\Data\Managed\UnityEngine.TestRunner.dll
UnityEngine.Debug:LogWarning(Object)
Unity.Burst.Editor.BurstAotCompiler:OnPostBuildPlayerScriptDLLsImpl(BuildReport) (at Library/PackageCache/com.unity.burst@1.3.9/Editor/BurstAotCompiler.cs:286)
Unity.Burst.Editor.BurstAotCompiler:OnPostBuildPlayerScriptDLLs(BuildReport) (at Library/PackageCache/com.unity.burst@1.3.9/Editor/BurstAotCompiler.cs:163)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
Code:
Unable to find player assembly: J:\UNITY\ObiSoftBodyTest\Temp\StagingArea\Data\Managed\Unity.PerformanceTesting.dll
UnityEngine.Debug:LogWarning(Object)
Unity.Burst.Editor.BurstAotCompiler:OnPostBuildPlayerScriptDLLsImpl(BuildReport) (at Library/PackageCache/com.unity.burst@1.3.9/Editor/BurstAotCompiler.cs:286)
Unity.Burst.Editor.BurstAotCompiler:OnPostBuildPlayerScriptDLLs(BuildReport) (at Library/PackageCache/com.unity.burst@1.3.9/Editor/BurstAotCompiler.cs:163)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
Code:
Compiling Vertex program with _MAIN_LIGHT_SHADOWS_CASCADE
Platform defines: UNITY_ENABLE_REFLECTION_BUFFERS UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP SHADER_API_DESKTOP UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_LIGHTMAP_FULL_HDR
Disabled keywords: _MAIN_LIGHT_SHADOWS _SHADOWS_SOFT UNITY_NO_DXT5nm UNITY_ENABLE_NATIVE_SHADOW_LOOKUPS UNITY_METAL_SHADOWS_USE_POINT_FILTERING UNITY_NO_SCREENSPACE_SHADOWS UNITY_PBS_USE_BRDF2 UNITY_PBS_USE_BRDF3 UNITY_NO_FULL_STANDARD_SHADER UNITY_HARDWARE_TIER1 UNITY_HARDWARE_TIER2 UNITY_HARDWARE_TIER3 UNITY_COLORSPACE_GAMMA UNITY_HALF_PRECISION_FRAGMENT_SHADER_REGISTERS UNITY_LIGHTMAP_DLDR_ENCODING UNITY_LIGHTMAP_RGBM_ENCODING UNITY_VIRTUAL_TEXTURING
Code:
Shader error in 'Obi/URP/Simple Particles': failed to open source file: 'Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl' at Assets/Obi/Resources/ObiMaterials/URP/ObiLightingURP.cginc(4) (on d3d11)
Compiling Vertex program with _MAIN_LIGHT_SHADOWS _MAIN_LIGHT_SHADOWS_CASCADE _SHADOWS_SOFT
Platform defines: UNITY_ENABLE_REFLECTION_BUFFERS UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP SHADER_API_DESKTOP UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_LIGHTMAP_FULL_HDR
Disabled keywords: UNITY_NO_DXT5nm UNITY_ENABLE_NATIVE_SHADOW_LOOKUPS UNITY_METAL_SHADOWS_USE_POINT_FILTERING UNITY_NO_SCREENSPACE_SHADOWS UNITY_PBS_USE_BRDF2 UNITY_PBS_USE_BRDF3 UNITY_NO_FULL_STANDARD_SHADER UNITY_HARDWARE_TIER1 UNITY_HARDWARE_TIER2 UNITY_HARDWARE_TIER3 UNITY_COLORSPACE_GAMMA UNITY_HALF_PRECISION_FRAGMENT_SHADER_REGISTERS UNITY_LIGHTMAP_DLDR_ENCODING UNITY_LIGHTMAP_RGBM_ENCODING UNITY_VIRTUAL_TEXTURING
Code:
Error building Player: 2 errors
Code:
Build completed with a result of 'Failed'
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
Code:
UnityEditor.BuildPlayerWindow+BuildMethodException: 3 errors
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x0027c] in <b17f35b08b864a3ca09a7032b437596e>:0
at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in <b17f35b08b864a3ca09a7032b437596e>:0
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
Found how to Fix it!!!
I just put Obi folder to Editor folder
Editor folder is the Default project folder! Those small things you need to know ))
Now so far so good, everything works pretty well on mobile.