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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment