Search Issue Tracker
By Design
Votes
0
Found in
2017.2.0a1
2018.2.0f2
Issue ID
1062198
Regression
Yes
[Editor] Application.logMessageReceived being invoked when API calls are not allowed
To reproduce:
1. Download attached project "logMessageSafety.zip" and open in Unity
2. Open "scene" scene
3. Select "Repro" gameObject
4. In Inspector window reset "ConstructorBehaviour" script
Expected results: In Console will be printed two errors
Actual results: In Console will be printed two errors and Application.logMessageReceived will be invoked when API calls are not allowed
Notes:
- This issue reproduces on both Windows and OSX
- The error message itself is expected behavior, but Application.logMessageReceived is now being called as a result of the Log call in the Constructor
- A Customer is reporting this, but as a result of " Serialization depth limit 7 exceeded at..." message
Reproduced on Unity 2017.2.0a1, 2017.2.3p2, 2017.3.2f1, 2017.4.7f1, 2018.1.9f1, 2018.2.0f2 and 2018.3.0a5
Could not reproduce on Unity 2017.1.4p2
Regression on Unity 2017.2.0a1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Add comment