Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.3.0a1
Issue ID
935446
Regression
No
NUnit TestCase attribute makes PS4 player crash before running tests
To reproduce:
1. Open attached project.
2. Switch platform to PS4
3. Run playmode tests on platform
App on PS4 crashes / in console error appears:
Unable to resolve pinvoke method 'NUnit.Framework.Internal.OSPlatform:name (intptr)
It seems that NUnit tries to get platform name for some reason, and it does not exist. Only happens with [TestCase] attribute, if changed to [Test] everything works fine. Cna be empty test. Crashes instantly, even before running tests. Fails only on PS4, works in android and Xbox
Reproduced on: 2017.3.0b1
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Frame Debugger is not disabled when switching Scenes if the Frame Debugger window is not open during the transition
- Standalone Profiler Targets another Project if a Standalone Profiler was launched in it before when switching between Edit or Play Mode Targets
- Crash on ForwardRenderLoopJob when opening a specific project
- [Android] Memory leak and eventual crash on Snapdragon 8 Gen 1+ devices when a Clear Pass is executed after Framebuffer Fetch
- PhysicsRaycaster ray length is incorrect when casting from rotated Camera
Resolution Note (2017.3.0f3):
Closing the case, since there is a workaround - TestCaseSource.