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

Override BaseVertexEffect error when building for WebGL

$
0
0
Hello guys! I am receiving an error compiling to WebGL when overriding a method already overridden by parent class. You can follow the next steps to reproduce: 1 - Inheriting from class BaseVertexEffect, inside namespace UnityEngine.UI. 2 - Override the method OnValidate, like: protected override void OnValidate(). 3 - Build for WebGL. You will get next error log: 'ChildClass.OnValidate()' is marked as an override but no suitable method found to override' The compiler should find the method from the parent classes and it should be able to override it. this is probably happening for all classes where this case apply. I already file a [bug report][1] to the Unity team but without avail, I havent't heard from them... :( [1]: http://fogbugz.unity3d.com/default.asp?707206_9p51cptbeqg34av0

Viewing all articles
Browse latest Browse all 7934

Trending Articles



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