handzlikchris / handzlikchris/FastScriptReload

Editor rendering for fields added at runtime does not work in newer Unity versions

Aperta
#154 0 commenti 2 reazioni 1 assegnatario Rivendicata da @handzlikchris Vedi su GitHub
bug
Lingua principale
C#
Stelle
2.2k
Fork
167
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Looks like adding new fields at runtime is broken. I think newer Unity version changed how they render Editor UI.

In past they were using either `UnityEditor.Editor:DrawDefaultInspector`, `UnityEditor.GenericInspector:OnOptimizedInspectorGUI`

Currently those methods are not hit, the harmony hook `FastScriptReload.Editor.NewFields.NewFieldsRendererDefaultEditorPatch` needs to be adjusted to intercept whatever new workflow is using

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.