Obi Official Forum

Full Version: Warning when imported
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
There was three warnings.

Assets\Obi\Scripts\Actors\ObiCloth.cs(78,14): warning CS0108: 'ObiCloth.Awake()' hides inherited member 'ObiClothBase.Awake()'. Use the new keyword if hiding was intended.



Shader warning in 'Obi/FlatSurfaceShader': floating point division by zero at line 51 (on d3d11)

Compiling Fragment program with UNITY_PASS_META
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_COLORSPACE_GAMMA UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_LIGHTMAP_FULL_HDR



Shader warning in 'Obi/Simple Particles': Use of UNITY_MATRIX_MV is detected. To transform a vertex into view space, consider using UnityObjectToViewPos for better performance.

What should I do?
(29-03-2019, 08:00 AM)Richard Wrote: [ -> ]There was three warnings.

Assets\Obi\Scripts\Actors\ObiCloth.cs(78,14): warning CS0108: 'ObiCloth.Awake()' hides inherited member 'ObiClothBase.Awake()'. Use the new keyword if hiding was intended.



Shader warning in 'Obi/FlatSurfaceShader': floating point division by zero at line 51 (on d3d11)

Compiling Fragment program with UNITY_PASS_META
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_COLORSPACE_GAMMA UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_LIGHTMAP_FULL_HDR



Shader warning in 'Obi/Simple Particles': Use of UNITY_MATRIX_MV is detected. To transform a vertex into view space, consider using UnityObjectToViewPos for better performance.

What should I do?

You already asked about the first warning and got the answer:
http://obi.virtualmethodstudio.com/forum...hp?tid=876