Giter Club home page Giter Club logo

Comments (11)

NoShenGG avatar NoShenGG commented on June 20, 2024

I know something that's random and without cause is hard to diagnose, but I've been scratching my head for a while trying to figure out what was causing this. I assume it's related to editing my C# scripts since it's only happened every now and again after editing them, but I'm not sure what exactly is causing the problem within them. It only happens on my desktop too. Running the project on my laptop doesn't seem to trigger the error at all. Just some guidance to start looking would be helpful!

from godot_dialogue_manager.

nathanhoad avatar nathanhoad commented on June 20, 2024

Do you get a stack trace of what was being called to get there?

from godot_dialogue_manager.

NoShenGG avatar NoShenGG commented on June 20, 2024

I don't have access to my desktop often enough to test it, but, from my memory, it didn't appear to have a stack trace for some reason when the error pops up. I believe that it is probably related to #473 in some capacity as well, since it might be trying to run get_next_dialogue_line for some reason and I might be forcing it to run in editor somehow by introducing build time with C# editing?

from godot_dialogue_manager.

NoShenGG avatar NoShenGG commented on June 20, 2024

Managed to capture a full screenshot of the Debugger window
image

from godot_dialogue_manager.

NoShenGG avatar NoShenGG commented on June 20, 2024

MSBuild_Log.txt
MSBuild_Log2.txt

I'm including the MSBuild output as well that's generated when I run the scene. The first one labeled MSBuild_Log.txt is the one that accompanied the Parser Error and the second one labeled MSBuild_Log2.txt is what was generated after I reran the scene.

from godot_dialogue_manager.

NoShenGG avatar NoShenGG commented on June 20, 2024

Just to add even more context, my laptop has .NET SDK 6 while my desktop has .NET SDK 7. It might make a difference so I will experiment around with it.

from godot_dialogue_manager.

nathanhoad avatar nathanhoad commented on June 20, 2024

Do you see it on both your laptop and your desktop?

from godot_dialogue_manager.

NoShenGG avatar NoShenGG commented on June 20, 2024

I only get it on my desktop for some reason. Not quite sure what the difference is still between the two of them besides just physical hardware.

from godot_dialogue_manager.

nathanhoad avatar nathanhoad commented on June 20, 2024

I'm on .NET SDK 8 on both my Desktop and my Surface and haven't come across anything like that (though I admittedly don't use Godot with C# that much).

from godot_dialogue_manager.

NoShenGG avatar NoShenGG commented on June 20, 2024

Thank you for all of your help so far! I've really been kicking myself with this for a while now, but it seems as though the root cause goes beyond Dialogue Manager itself and into some potential race conditions with autoloads in general for my project? That would explain why differing hardware would present the issue. However, I don't see why or how these race conditions are created. As the issue seems to stem outside of just Dialogue Manager though, I don't see the point in pushing this topic here specifically any further. Thank you for your help though!

from godot_dialogue_manager.

GovermanGambo avatar GovermanGambo commented on June 20, 2024

I'm getting the exact same error in my own project, and a friend is getting the error every time she tries to launch the game while I'm only getting it about 20% of the time. I'm also using Rider, and the error occurs more frequently after updating C# scripts without recompiling manually. Breakpoints does not work. I've been able to bypass the error by guarding the responses property call with checks or get()/set(), but then I get errors about DialogueResource not being defined in the scope. There seems to be some general GDScript parsing error here when using .NET.

from godot_dialogue_manager.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.