Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug / Crash  Warning when imported
#1
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?
Reply
#2
(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
Reply