alttester / alttester/AltTester-Unity-SDK

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

Aberta
#883 2 comentários 0 reações 0 responsáveis Ver no GitHub
alttester editor bug gitlab no version triaged
Linguagem predominante
C#
Estrelas
121
Forks
24
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

## 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).

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.