Quantcast
Channel: Questions in topic: "error message"
Viewing all articles
Browse latest Browse all 2891

Unity's material color property getter throws an error.

$
0
0
Title. Any idea whether this is a bug and I should just try-catch it or what the hell is going on? From player logs: NullReferenceException at (wrapper managed-to-native) UnityEngine.Material.GetFirstPropertyNameIdByAttribute(UnityEngine.Material,UnityEngine.Rendering.ShaderPropertyFlags) at UnityEngine.Material.get_color () [0x00001] in <966ecbc21bec4138a5192b5e1b2dd41f>:0 at Utils+d__59.MoveNext () [0x00025] in <9ae90e626f0a4c399371cdee4541304f>:0 at MEC.Timing.RunCoroutineInternal (System.Collections.Generic.IEnumerator`1[T] coroutine, MEC.Segment segment, System.String tag, MEC.CoroutineHandle handle, System.Boolean prewarm) [0x001ab] in <608f19ef963446308f066b53a8fe0b91>:0 at MEC.Timing.RunCoroutine (System.Collections.Generic.IEnumerator`1[T] coroutine) [0x0001a] in <608f19ef963446308f066b53a8fe0b91>:0 at Utils.LerpMaterialsEnding (UnityEngine.Renderer[] renderers, UnityEngine.Material removeWhenEnd, UnityEngine.Material[] materials, System.Single materialLerpSpeed, ValueWrapper`1[T] interrupt) [0x0001c] in <9ae90e626f0a4c399371cdee4541304f>:0 at FrostDebuff.OnEndVfx () [0x00046] in <8016c9e832c74618a012f7deb2b3889e>:0 at StatusEffectsManager.EndStatusEffect (StatusEffect statusEffect) [0x0000b] in <8016c9e832c74618a012f7deb2b3889e>:0 at StatusEffectsManager.EndDebuff (System.Int32 index) [0x00019] in <8016c9e832c74618a012f7deb2b3889e>:0 at StatusEffectsManager.Update () [0x0008d] in <8016c9e832c74618a012f7deb2b3889e>:0 ![alt text][1] [1]: /storage/temp/200349-unity-color-error.png

Viewing all articles
Browse latest Browse all 2891

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>