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
-
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
- A Console error is not handled correctly when using #pragma kernel with the Kernel name not provided
- L(a,b) expression in float fields has erratic behaviour when ordering due to using instanceID as an index
- InvalidOperationException is thrown when switching to a custom Debug Draw Mode in Scene View
- [Android][Vulkan] Skybox and Environment effects flicker in the Player when using the Vulkan Graphics API
- "Shortcuts conflict" warning pops up when the shortcuts are different ("Shift + Mouse 2" and "Mouse 2")
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.