Search Issue Tracker
Fixed in 2017.2.0f3
Votes
0
Found in
2017.2.0a2
Issue ID
930703
Regression
Yes
SendMessage cannot be called during Awake, CheckConsistency, or OnValidate prevents UI from showing
SendMessage cannot be called during Awake, CheckConsistency, or OnValidate prevents UI from showing
To repro:
1. Open project attached (or import uMMORPG project).
2. Press Play and you'll get errors in log.
Actual result: warnings in log
SendMessage cannot be called during Awake, CheckConsistency, or OnValidate
UnityEngine.UI.Slider:OnValidate()
Expected result: No warnings in log.
In 2017.1.0f3 works with no warnings.
In 2017.2.0a2 - b3 warnings appear.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
elgawarsha
Nov 22, 2020 07:50
I've figured this issue out. At least in Unity 2020.1.11f1
Basically the children in the Slider aren't set as prefabs. I had to unpack the canvas parent of the slider, as well as the slider itself, and then make all the slider children prefabs, then re-prefab the slider and canvas. If this works for anyone else please post a comment to confirm.
ShawnFeatherly
Oct 07, 2019 17:06
There's another issue open for this saying it was fixed in 2019.1. https://issuetracker.unity3d.com/issues/unity-throws-sendmessage-cannot-be-called-during-awake-checkconsistency-or-onvalidate-warning-when-manipulating-the-ui
adefilippis
Aug 06, 2019 18:14
Not sure what was fixed in 2017.2.0f3.
In 2017.4.26f1, this warning still appears in all GetComponent<MeshFilter>() statements called in Awake()
PixelSquad
Jul 12, 2019 11:35
I get it in 2019.1.9f1 when loading a prefab containing sprites.
Hoglet
Jul 07, 2019 23:24
Still present in Unity 2019.1.8 when adding value to some properties in OnValidate
cmdexecutor
May 27, 2019 12:13
SendMessage cannot be called during Awake, CheckConsistency, or OnValidate
UnityEngine.MeshFilter:set_sharedMesh(Mesh)
The same on 2019.1.0f2
tigme
Apr 01, 2019 08:39
Also have this issue on 2018.3.10f1
yourfriendninjarinplays
Mar 24, 2019 13:12
I Have this problem when i change the value in my Slider
ilkeryasin
Feb 17, 2019 14:17
also i have same issue
unity version = 2018.3.6f1
DanStreaman
Feb 16, 2019 02:53
I am on 2018.3.4f1 and while doing:
meshFilter.mesh = new_mesh;
...during OnValidate() I get the following warning:
"SendMessage cannot be called during Awake, CheckConsistency, or OnValidate
UnityEngine.MeshFilter:set_mesh()"