Search Issue Tracker

Won't Fix



Found in


Issue ID




NUnit TestCase attribute makes PS4 player crash before running tests

Unity Test Runner


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

  1. Response avatar

    Resolution Note (fix version 2017.3.0f3):

    Closing the case, since there is a workaround - TestCaseSource.

Comments (1)

  1. 6bcc719977cc4176e05c812b3cc918b0?d=mm


    Jan 21, 2020 15:32

    You can download Cyberflix tv app on firestick as well. Moreover, if you have an Android TV Box, it would be really easy to install Cyberflix tv on Android TV Box.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.