alttester / alttester/AltTester-Unity-SDK

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

Abierto
#883 2 comentarios 0 reacciones 0 asignados Ver en GitHub
alttester editor bug gitlab no version triaged
Lenguaje dominante
C#
Estrellas
121
Forks
24
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.