handzlikchris / handzlikchris/FastScriptReload
Executing compiler command should include /unsafe param if it's compiling unsafe code
- Langage dominant
- C#
- Étoiles
- 2.2k
- Forks
- 167
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
Trying out the coolest package ever on my codebase.
Found that unsafe will not compile
```
error CS0227: Unsafe code may only appear if compiling with /unsafe'
at FastScriptReload.Editor.Compilation.DotnetExeDynamicCompilation.ExecuteDotnetExeCompilation
```
Fixed at Assets\FastScriptReload\Scripts\Editor\Compilation\DotnetExeCompilator.cs by adding /unsafe flag

BTW I am using Unity 6 and everything works fine. Your are the GOAT hehe
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Start in Assets\FastScriptReload\Scripts\Editor\Compilation\DotnetExeCompilator.cs, particularly the ExecuteDotnetExeCompilation path mentioned in the error. Reproduce compilation with unsafe C# code and verify that the compiler command includes /unsafe and completes without CS0227.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- csharp, unity
- Domaine
- compilers, game-dev
- Type d'issue
- Bug
- Difficulté
- 1/5
- Temps estimé
- Moins d'une heure
- Activité
- À l'abandon
- Clarté
- Clairement spécifiée
- Accessibilité débutants
- 55/100