AltTester-Unity-SDK
AltTester-Unity-SDK copied to clipboard
Error when trying to open AltUnityTest with same name as folder in project
Steps to reproduce
- Open in Unity the altunitytester project (cloned repo)
- In Assets > Editor folder create an AltUnityTest with the name
test
- Note: the name is also the name of a folder in the project
- Go to AltUnity Tester Editor window and
Refresh
the Tests list - Find the created test and double-click on it in order to open it
- Check if it opens and the console for errors.
Actual result
AR
In step 5 the test file cannot be opened and in the console, there is an error:
Access to the path 'D:\AltUnity Tools\AltUnity Tester\altunitytester\Assets\AltUnityTester' is denied.
System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) (at <d4cde64232cf45659d86aafa597faa77>:0 ...
Additional info
Screenshot
Expected result
ER
In step 5 the test file should be opened and in the console should be no error
You can find the original issue from GitLab here.