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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
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.