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

Networking

-

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

  1. 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.

Comments (5)

  1. shubhamswaraj2021

    Aug 18, 2020 16:54

    good one <a href="https://www.lyricsauto.com">lyricsauto</a>

  2. 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.

  3. 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

  4. 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

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.