Search Issue Tracker
By Design
Votes
0
Found in
2018.1.0b4
Issue ID
992231
Regression
No
LogAssert.Expect doesn't catch exceptions if not called from Debug.LogException
Steps to reproduce:
1. Open user attached project
2. Open "NewTestScript" from the "PlayModeTests" or "EditModeTests" folder
3. Notice that there 6 unit tests in the script
4. Open Test Runner and run all  "PlayMode" or "EditMode" tests
5. Notice that the 3 bottom tests cause a fail
Expected result: LogAssert.Expect should catch exceptions if not called from Debug.LogException
Reproduced in: 2018.2.0a1, 2018.1.0b4, 2017.3.0p4, 2017.2.1p2, 2017.1.3f1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
- Previously deleted “DefaultLookDevProfile“ is present when upgrading the Editor version
- [Ubuntu] UI text and buttons are missing spaces in Unity Version Control > New Workspace window
- "Inherit attribute is not supported" warning is shown but attributes are available in VFX Graph Output and Update blocks
Add comment