Blueprint special variable names and conversion to "_" in Skokum.
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 38/100
Direzione di ricerca
Locate the Blueprint variable-name conversion in the UE4 plugin source and reproduce the collision with names such as Rotation >, Rotation <, and * Forward. Done means special characters produce distinct valid SkookumScript names without duplicate-variable errors for asset-store Blueprints.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Issue by Andy2244
Friday Nov 15, 2019 at 15:49 GMT
Originally opened as https://github.com/SkookumScript/SkookumScript-Plugin/issues/18
UE4 Version
Binary 4.23.1
SkookumScript Version
4.23.1-9631420
Describe the bug
I noticed that some packages from the asset-store frequently use special characters in there BP variable names, which all get converted to "_" or are ignored completely.
Rotation >
Rotation <
* Forward
- Forward
+ Forward
results in sk
Real rotation_ : 0.0
Real rotation_ : 0.0
Boolean forward? : false
Boolean forward? : false
Boolean forward? : false
than we get this error:
A variable with the name 'rotation_' has already been created and is available in this scope and duplicate/shadowed variable names are not allowed.
Choose a different parameter name.
Expected behavior
While i can work around this in my own code, its quite hard/time consuming to fix those errors for asset-store stuff.
So maybe its a better idea to convert special characters to some ascii/hex representation?
Something like:
ascii
Real rotation_62 : 0.0
Real rotation_60 : 0.0
or Hex
Real rotation076 : 0.0
Real rotation074 : 0.0
This way each special character gets encoded to a compatible variable name, without creating duplicates.
- Lingua principale
- C++
- Stelle
- 138
- Fork
- 22
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di EpicSkookumScript/SkookumScript-Plugin
-
Clarify Plugin Installation Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 42/100
EpicSkookumScript/SkookumScript-Plugin#50 · 5 commenti ·
-
Is the plugin alive? Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 10/100
EpicSkookumScript/SkookumScript-Plugin#47 · 7 commenti ·
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
-
Feature to Stop debugging Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
Tutte le issue di EpicSkookumScript/SkookumScript-Plugin
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
ros2/message_filters#338 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
subsurface/subsurface#4984 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
flutter-webrtc/flutter-webrtc#2206 ·
-
litertlm-android AAR ships no consumer ProGuard rules → "mid == null" SIGABRT in minified apps Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
google-ai-edge/LiteRT-LM#3739 ·