Search Issue Tracker
Won't Fix
Votes
8
Found in
2017.3.0f3
Issue ID
996444
Regression
No
SendMessage cannot be called during Awake without using SendMessage
To reproduce:
1) Open attached project
2) Open the scene SharedDemo_Rework on Standalone platform and build
Actual: Use collapse in the console to identify the 7 warnings among all the others:
SendMessage cannot be called during Awake, CheckConsistency, or OnValidate
UnityEngine.Networking.NetworkIdentity:OnValidate()
4) Now find the Gameobject SharedCollection/DemoObject
5) Remove all children and every component from it except for the network identity and build again
6) Now there are 9 warnings
7) Remove the whole DemoObject and build again
Expected: Warnings are gone
Reproduced in 2017.3.0f3, 2018.1.0b6
Comments (5)
-
Melnikovv
Feb 17, 2019 10:19
To fix this problem with a slider, reset the slider script and adjust everything manually. Then the slider should work correctly.
-
raxter
Sep 26, 2018 14:25
Also found in Unity 2017.11.f1 when trying to set gameObject.tag or gameObject.layer in the OnValidate script
-
XT3RM1N8R
Aug 04, 2018 17:02
-
Laicasaane
Mar 21, 2018 15:37
Why couldn't I peacefully set CanvasGroup properties in OnValidate? Writing an editor for these trivial tasks is just cumbersome and waste of time. Please eliminate these warnings or make an option to turn them off.
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
- "Initialization Mode" and "Update Mode" drop-downs are not localized in the Custom Render Texture asset
- Switching Graphics Default or DevLook Profile to “NightSkyRenderingSettings Profile” throws “KeyNotFoundException” error in the Console window
- Section separator renders in the wrong place in Search Journaling and Archetypes windows
- [D3D12][UWP] Additional persistent shadows are drawn in UWP builds when using D3D12
- Search Journaling window link to Journal Manager documentation isn’t working
Resolution Note:
Mass closure of UNET Bugs.
As UNet is Deprecated we are moving to low maintenance mode, where critical issues can get fixes.
Closing this bug as part of cleaning-up the Bug List.
If you feel this bug is really a road-blocker, you can reopen the bug and we will work this one.