alttester / alttester/AltTester-Unity-SDK

Error when trying to open AltUnityTest with same name as folder in project

Đang mở
#883 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
alttester editor bug gitlab no version triaged
Ngôn ngữ chính
C#
Star
121
Fork
24
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

## Steps to reproduce

1. Open in Unity the _altunitytester_ project (cloned repo)
2. In _Assets_ > _Editor_ folder create an _AltUnityTest_ with the name `test`
- _Note_: the name is also the name of a folder in the project
3. Go to _AltUnity Tester Editor_ window and `Refresh` the _Tests list_
4. Find the created test and double-click on it in order to open it
5. 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 :0 ...
```

### Additional info

Screenshot

![image](https://gitlab.com/altom/altunity/altunitytester/uploads/7993ee9b96fe81956dbd3b3c80d05088/image.png)

## 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](https://gitlab.com/altom/altunity/altunitytester/-/issues/906).

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.