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)
-
shubhamswaraj2021
Aug 18, 2020 16:54
good one <a href="https://www.lyricsauto.com">lyricsauto</a>
-
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
- Broken UI in Default Preset Add Section of "Preset Manager" window
- [iOS] The Player freezes when closing the Notification Center and quickly swiping down from top
- Crash on Texture2D:SetPixelImpl when rapidly calling Texture2D.Apply()
- Graph Lines are not rendered when using Experimental GraphView or GridBackground
- [macOS] RenderTexture with 8 Sample Anti-Aliasing fails to render
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.