Skip to content
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

BlackboardEntry references are gone after adding an entry to Blackboard #15

Closed
ijisthee opened this issue Jan 24, 2024 · 9 comments
Closed
Labels
bug Something isn't working

Comments

@ijisthee
Copy link

ijisthee commented Jan 24, 2024

When to remove an entry from the Blackboard, some references on Nodes are gone.

How to reproduce:

  1. Create some nodes and conditionals, add references from Blackboard.
  2. add another entry to blackboard

Then some (not all) references from nodes and conditionals are gone.

Have a look at the video:
https://github.com/acdamiani/schema/assets/20422129/dc7782b0-79c2-469c-b817-1a0d93ce38ec

@ijisthee ijisthee changed the title (some) BlackboardEntry references are gone after adding an entry to Blackboard BlackboardEntry references are gone after adding an entry to Blackboard Jan 24, 2024
@ijisthee
Copy link
Author

ijisthee commented Jan 24, 2024

Additional Info:

If you do that again and again after you've added 2-3 more entries to Blackboard, all references are gone. I only have a few nodes but it's a lot of work to wire them all again.

I happened to me with v1.0.5, too.

@ijisthee
Copy link
Author

One more: When you add one in global Blackbaord, all references in all Graph assets are gone. :-/

@acdamiani
Copy link
Owner

I'm having trouble reproducing this issue. In the video linked, it looks like you're referencing some Blackboard variables that are not included in the local Blackboard ($AttackDistance for example). Are they global Blackboard variables? Dynamic variables? I'd hazard a guess that it's related to the typechecking code that's run when new entries are created.

@ijisthee
Copy link
Author

Hi @acdamiani,

yes I have local and global Blackboard variables.
image
image

I'm not sure if I'm using dynamic variables.

For instance: is the 100 radius a dynamic variable?
image

@ijisthee
Copy link
Author

ijisthee commented Jan 25, 2024

Arrgh. I've had a working Tree and wanted to test how to reproduce it with a new tree.

When I've added a variable to the local Blackboard in the new tree, everything was fine. When I've added it to the global variables the reference in the test tree AND the working ai tree were gone :-(

Next time I create a blank project for it.

Here my global Blackboard Asset:
image

I cannot find the Assets inside the Entries List. Could that be a possible reason?

I need to cry a bit in my bed now since my references are gone.

Edit: I've put a backup outside of the Assets folder. Inside there all references are still available. puuu :)

@acdamiani
Copy link
Owner

Glad you had a backup! Yes, this almost definitely a Global blackboard issue; I'll fix it ASAP.

@acdamiani acdamiani added the bug Something isn't working label Jan 26, 2024
@ijisthee
Copy link
Author

Hi @acdamiani

Do you have any updates on this issue? It's currently blocking me. I can temporarily work without using the BlackBoard, but I'd really like to use it. 😄

Thanks in advance. I hope you're doing well and not too stressed right now.

@acdamiani
Copy link
Owner

acdamiani commented Jan 30, 2024

Sorry about that! I've been busy recently and have not had much time to work on this project. This issue turned out to be a simple fix though--see #20.

@ijisthee
Copy link
Author

ijisthee commented Feb 4, 2024

I could test it today and it works. Finally I can go on with may AI.

Thank you very much. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants