We have created a CustomEditor Preview with reference to the following pages:
http://anchan828.github.io/editor-manual/web/customeditor.html
I have confirmed that it is displayed normally until Unity 2017.3, but when I updated it to Unity 2018.1.2f and Unity 2018.1.5f, both of them were blank on the preview screen.
How do I get Unity 2018 to display it on the preview screen as before?
unity3d
I solved myself.
Until now, there was no problem with this code, but it seems that the specifications have changed since Unity 2018, or that the bug was drawn in Unity 2017.
The corrections in the relevant source are
previewObject=Instantiate(component.gameObject);
previewRenderUtility.AddSingleGO(previewObject);
will be
918 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
573 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
582 PHP ssh2_scp_send fails to send files as intended
578 Understanding How to Configure Google API Key
621 Uncaught (inpromise) Error on Electron: An object could not be cloned
© 2024 OneMinuteCode. All rights reserved.