-
-
Notifications
You must be signed in to change notification settings - Fork 211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Could not find script for class "Dialogic"" when trying to start timeline #2145
Comments
Hello, first of all, I fixed your formatting. Do you have the Dialogic autoload in the Project Settings enabled? Have you tried restarting? |
i tried disabling and enabling the plugin, and it said: what does this mean? |
This means you already have an autoload using this name or your cache is invalidated. I recommend to close Godot, delete If this does not remedy the issue, try restarting one more time. If that does not help either, delete the |
i use macos, where can i find the .godot folder? |
It's a folder located at the root of every Godot project. |
i can't seem to find the .godot folder in my project folder |
Maybe it's a hidden folder on your operating system. I never used macOS. |
To see hidden files on macOS, when in your game's project folder, hit |
so I did this and this popped up int eherrors: Line 9:Identifier "DialogicUtil" not declared in the current scope. it seems that there is a lot of "not declared in the current scope", do I need to add anything to my code to fix this? |
What version of Godot are you using? Try removing Dialogic and installing it again. This article mentions how you can verify if your installation succeeded: https://docs.dialogic.pro/getting-started.html#1-installation--activation |
i'm using v4.2.1.stable.official [b09f793f5] |
i reinstalled dialogic 2 and i think there are even more problems now: Line 27:Could not find type "DialogicTimeline" in the current scope. res://addons/dialogic/Modules/Audio/subsystem_audio.gd: it says there's 72 errors right now, and I'm pretty sure I installed dialogic correctly, what do I do now? |
Try restarting Godot again or reload the project. |
wait those errors were from the DialogicGameHandler thing, the script that contains my problem now has 13 errors: Line 9:Identifier "DialogicUtil" not declared in the current scope. this was after I reloaded the project, restarting godot is just closing and reopening it right? |
Can you verify the Dialogic autoload is enabled in your project and Dialogic as a plugin is enabled? Both can be found in your project settings. Restarting Godot (your project) is closing and opening the project, yes. |
yes, the dialogic autoload and plugin are both enabled |
If you clear all errors and try to start your timeline, do you encounter any errors? If so, what errors and what script has them? |
its from the DialogicGameHandler and it says "Parser Error: Could not find type "DialogicTimeline" in the current scope." |
@zxcdevlop Somehow some script must result in an error. Because there are a lot of references inside of dialogic, usually a single error already results in many many error messages and other files failing to load. It would be very useful to know which error is at the very beginning of your list of errors in your output, when opening the project, maybe you can share a screenshot of the output? Also can you specify which version of dialogic you are using, precisely which Dialogic 2 alpha version? I'm also confused as the code snippet in the OP contains the code of the TestTimelineScene. You do NOT need all that in your scenes script, not sure why you have that there. |
Have you added the Dialogic gets used via its autoload. If you added this yourself, you must remove it or it won't work. Here is a guide you can follow to get started: https://docs.dialogic.pro/getting-started.html |
Hello, as there was no further reply, I will close this issue. If you still have this problem, let us know! |
I receive this same error on alpha-13. I'm using Dialogic via Autoload. Unfortunately, it doesn't seem very consistent; sometimes it'll happen when playing the project, and sometimes it won't. |
Hello, please confirm if any of you are using C# in your projects. |
Hi there! Yes, I'm using C# in my project. It seems to go away for the most part when I build the .NET project before launching (it still builds when you launch, but you can choose to build before) (I said this in the server, but I'm putting it here too for non-server-members) |
I came here to looking for this issue, I also have the "Could not find Type DialogicTimeLine in the current scope" issue, and also I am using the mono version of Godot. recently updated to 4.3 Dev 5 because of a much needed feature they added. It seems random, sometimes it pops up, sometimes it doesn't, haven't tried building first and then playtesting tough. |
Okey, I found a solution. You can download a pre-made project that weirdly enough has working dialogue installed. That will not fix the issue why it wasnt working in the first place but it will atleast work now. |
So far what @AutumnRivers said is what I do, always build it before hitting play and it works. But sometimes I forget lol. Other than that, I have no idea as well. |
this happens when I try to start my dialogic timeline through a button, and I don't know how to fix this
I'm copy-pasting all my code in the script here in case there's something else causing this problem because I don't know how to fix it
how do I start a dialogic timeline here? is there anything else i need?
The text was updated successfully, but these errors were encountered: