- Home /
DirectoryNotFoundException when using test runner in a Standalone build
Hey guys,
when testing my game, I need to read some files, which are placed in the same folder as the scripts of my playmode tests.
By clicking on "Run All" in the Unity Test Runner everything works fine.
By clicking on "Run All Tests (Standalone Windows 64) in the Unity Test Runner I get a DirectoryNotFoundException in my tests logs
A temporary folder was made for the tests in the test build but there is no reference to Asset folder path. So the questions is:
How to reference files in a Standalone test build for the rest runner?
I'm using Unity 2019.4 and the test runner package 1.1.30.
Thanks for your help!
Your answer
Follow this Question
Related Questions
DirectoryNotFoundException with full existing path... ? How can this be? I need an answer ASAP 1 Answer
Package directory not found for DataContractSerialization 1 Answer
Getting this error when doing a mac build: 1 Answer
Standalone player - Customizing launcher 2 Answers
how to detect if there is an instance of my game already running? 1 Answer