Page 1 of 1

null texture passed to GUI.DrawTexture

Posted: Fri Sep 04, 2020 10:08 am
by aaajiao

Just upgraded to 2019.4.9f1 yesterday.
There's an error every time you edit the dialogue.

Code: Select all

null texture passed to GUI.DrawTexture
UnityEngine.GUI:DrawTexture(Rect, Texture)
PixelCrushers.DialogueSystem.DialogueEditor.DialogueEditorWindow:DrawEntryNode(DialogueEntry) (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Editor/Dialogue Editor/Nodes/DialogueEditorWindowConversationNodeEditor.cs:703)
PixelCrushers.DialogueSystem.DialogueEditor.DialogueEditorWindow:DrawAllNodes() (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Editor/Dialogue Editor/Nodes/DialogueEditorWindowConversationNodeEditor.cs:488)
PixelCrushers.DialogueSystem.DialogueEditor.DialogueEditorWindow:DrawCanvasContents() (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Editor/Dialogue Editor/Nodes/DialogueEditorWindowConversationNodeEditor.cs:206)
PixelCrushers.DialogueSystem.DialogueEditor.DialogueEditorWindow:DrawCanvas() (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Editor/Dialogue Editor/Nodes/DialogueEditorWindowConversationNodeEditorBase.cs:67)
PixelCrushers.DialogueSystem.DialogueEditor.DialogueEditorWindow:DrawConversationSectionNodeStyle() (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Editor/Dialogue Editor/Nodes/DialogueEditorWindowConversationNodeEditor.cs:175)
PixelCrushers.DialogueSystem.DialogueEditor.DialogueEditorWindow:DrawConversationSection() (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Editor/Dialogue Editor/DialogueEditorWindowConversationSection.cs:129)
PixelCrushers.DialogueSystem.DialogueEditor.DialogueEditorWindow:DrawCurrentSection() (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Editor/Dialogue Editor/DialogueEditorWindowMain.cs:411)
PixelCrushers.DialogueSystem.DialogueEditor.DialogueEditorWindow:DrawMainBody() (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Editor/Dialogue Editor/DialogueEditorWindowMain.cs:377)
PixelCrushers.DialogueSystem.DialogueEditor.DialogueEditorWindow:OnGUI() (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Editor/Dialogue Editor/DialogueEditorWindowMain.cs:295)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) (at /Users/builduser/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:197)

Re: null texture passed to GUI.DrawTexture

Posted: Fri Sep 04, 2020 12:58 pm
by Tony Li
Hi,

That warning will be gone in version 2.2.10, which will release soon.

Re: null texture passed to GUI.DrawTexture

Posted: Mon Sep 07, 2020 11:31 am
by aaajiao
Screen Shot 2020-09-07 at 5.30.10 PM.png
Screen Shot 2020-09-07 at 5.30.10 PM.png (43.86 KiB) Viewed 1395 times
Hi, Tony.
Also in this version, these icons disappear from the editing screen.

Re: null texture passed to GUI.DrawTexture

Posted: Mon Sep 07, 2020 1:03 pm
by Tony Li
Hi,

Did you move or rename the folder?

Are there any errors or warnings related to those images?

Re: null texture passed to GUI.DrawTexture

Posted: Mon Sep 07, 2020 1:12 pm
by aaajiao
There are no errors or warnings. I really don't remember if I changed the file location.

Re: null texture passed to GUI.DrawTexture

Posted: Mon Sep 07, 2020 1:34 pm
by Tony Li
'Editor Default Resources' is a special Unity-specified folder name. If you've moved the images out of there, please put them back in the original location so Unity can access them.

If that's not the issue, please let me know.

Re: null texture passed to GUI.DrawTexture

Posted: Mon Sep 07, 2020 1:53 pm
by aaajiao
fixed.
http://wiki.unity3d.com/index.php/Speci ... sources.22
Let's not make the same mistake.

Re: null texture passed to GUI.DrawTexture

Posted: Mon Sep 07, 2020 3:07 pm
by Tony Li
Great! Thanks for letting me know.