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
- [Mobile] Developer Console does not appear when an error is thrown
- [HDRP] Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
- The Game view becomes blank when using Frame Debugger with MSAA and Texture binding enabled in Play Mode
- NullReferenceException is thrown when changing the Inspector preview selection
Add comment