dialogic-godot / dialogic

💬 Create Dialogs, Visual Novels, RPGs, and manage Characters with Godot to create your Game!
https://dialogic.pro
MIT License
3.35k stars 206 forks source link

Can't remove dialogic completely, and console keeps warning. #2166

Closed MichaelRefresh closed 1 month ago

MichaelRefresh commented 1 month ago

Once I run my scene, the console will warn me like below. About 12 warnings. I have removed it from my res, and cancelled autoload, I even open the project.godot to manually delete contents of dialoic. I have also open user documents to delete the dialogic folder. It still warns me. E 0:00:01:0838 load_source_code: Attempt to open script 'res://addons/dialogic/Resources/CharacterResourceLoader.gd' resulted in error 'File not found'. <C++ Error> Condition "err" is true. Returning: err <C++ Source> modules/gdscript/gdscript.cpp:1025 @ load_source_code() E 0:00:01:0839 _load: Failed loading resource: res://addons/dialogic/Resources/CharacterResourceLoader.gd. Make sure resources have been imported by opening the project in the editor at least once. <C++ Error> Condition "found" is true. Returning: Ref() <C++ Source> core/io/resource_loader.cpp:274 @ _load() E 0:00:01:0839 add_custom_resource_format_loader: Condition "res.is_null()" is true. Returning: false <C++ Source> core/io/resource_loader.cpp:1110 @ add_custom_resource_format_loader() image

Dodoveloper commented 1 month ago

It might be the case that your local .godot/scene_groups_cache.cfg still has references to Dialogic. Not sure if it affects stable Godot versions, but it happened to me using 4.3-dev3 and onwards.

MichaelRefresh commented 1 month ago

On Mon, Apr 8, 2024 at 17:15 Davide Cortellucci @.***> wrote:

It might be the case that your local .godot/scene_groups_cache.cfg still has references to Dialogic. Not sure if it affects stable Godot versions, but it happened to me using 4.3-dev3 and onwards.

— Reply to this email directly, view it on GitHub https://github.com/dialogic-godot/dialogic/issues/2166#issuecomment-2042257849, or unsubscribe https://github.com/notifications/unsubscribe-auth/BGUCM7FFGG6INP4OZZQR7VTY4JN4DAVCNFSM6AAAAABF2OKOS2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBSGI2TOOBUHE . You are receiving this because you authored the thread.Message ID: @.***>

You are right! I manually delete reference in cache documents, and after reload my project, the warning never show again. Thank you anyway, you can turn off the issue, I forget it. And your addon is really helpful, especially the smart phone example, but I find it unsuitable for my project, so I give it up.

CakeVR commented 1 month ago

I'm glad you were able to remove Dialogic cleanly.

Thanks for trying our addon, I wish you the best with your future endeavours!