Closed lucasmontec closed 7 years ago
Good thinking. Will implement an exposed variable for it shortly.
Can you check the latest version? There is a new variable called "Launch In Popup Mode" in DebugLogCanvas prefab.
I'm getting a Null Reference Exception on the method call for OnSetVisible() because OnEnable for DebugLogManager is called before the awake for the DebugLogPopup. To fix this I moved the entire 'if (launchInPopupMode)' to Start on DebugLogManager class. This solved the issue.
tl;dr canvasGroup is not set when onEnable is called in DebugLogManager, this results in a NRE.
I did not encounter that error while testing miself, strangely, but I will apply your solution to the main branch soon, nevertheless.
Probably an error with unet.I have also changed your LogFilter name since unet uses an identical name.
Em 11/10/2016 02:21, "Süleyman Yasir KULA" notifications@github.com escreveu:
I did not encounter that error while testing miself, strangely, but I will apply your solution to the main branch soon.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/yasirkula/UnityIngameDebugConsole/issues/2#issuecomment-252816473, or mute the thread https://github.com/notifications/unsubscribe-auth/ABUb_SKqK2_IKIDS6nlUC8ziEfeSUbD2ks5qyxytgaJpZM4KSGpi .
I have moved the launchInPopupMode code to Start function and changed the name of LogFilter to DebugLogFilter. Thanks for all the info.
Thanks for the awesome asset!
Em 11/10/2016 07:47, "Süleyman Yasir KULA" notifications@github.com escreveu:
I have moved the launchInPopupMode code to Start function and changed the name of LogFilter to DebugLogFilter. Thanks for all the info.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/yasirkula/UnityIngameDebugConsole/issues/2#issuecomment-252878580, or mute the thread https://github.com/notifications/unsubscribe-auth/ABUb_Xyvef99dSj9od9q6xV4H2Va00Qnks5qy2kGgaJpZM4KSGpi .
Your console is a great debugging tool! It would be great if there was a simple option to start hidden or an alternative prefab to use in this manner.