Hummingbird Course

Hi,
I followed the course and it all went well so far. However, when I start the training I get a very weird behaviour. The birds start flying heading with their back towards the flowers. Or the opposite, so either the front rays are heading towards the ground or the sky. On my longest run after almost 2 million steps I got a reward of 2.5, but with the exact behaviour as above. I tried 2 more runs, same issue. I copy/pasted the source code to make sure its not a typo on my end, same result. I’d really try to go on with the course but theres no reaction on my comment in the section of the course so I am asking here if maybe someone of you got this as well and has an idea.
I did not change any settings on the scripts, the yaml file or in the scene. Here is a short video that shows kind of the behaviour the birds seem to prefer most of the time:

Thanks for helping!

Thanks for reaching out! I’ll flag this for the team, and pass along any guidance they have!

Thanks, I appreciate it. i am testing the examples from the git till than and having a lot of fun and good learning from those as well. :slight_smile:

maybe it’s because of yaw and pitch range…it supposed to be -60, 60

Pitch range is as you say, yaw range is supposed to be -180f, 180f
I tried changing the yaw range as well with the same result.
I also double checked sensors, but theyre exactly like in the scene setup.

Also getting this error, dont know if this is related:

KeyNotFoundException: The given key was not present in the dictionary.
System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) (at <437ba245d8404784b9fbab9b439ac908>:0)
FlowerArea.GetFlowerFromNectar (UnityEngine.Collider collider) (at Assets/Hummingbird/Scripts/FlowerArea.cs:53)
HummingbirdAgent.TriggerEnterOrStay (UnityEngine.Collider collider) (at Assets/Hummingbird/Scripts/HummingbirdAgent.cs:379)
HummingbirdAgent.OnTriggerStay (UnityEngine.Collider other) (at Assets/Hummingbird/Scripts/HummingbirdAgent.cs:360)

1 Like

I have same issue

1 Like

Howdy all. After connecting with the teams, it was advised that you all open tickets directly in the Learn portal when you encounter issues like this. Thanks! :slight_smile:

I encountered the same issue- I figured out that adding the floatingIsland → Islandgrass prefab tag = boundary, was helping getting a significantly better result.

Hi, I could not download the files from the Material sections. I got “Couldn’t Download” Message. What would the causes?

Could you add a link to this Learn portal location?
If the issue is solved, will it be posted here?

Hey @Im_Pos - things have changed a bit. So, the fastest way to get eyes on any issues you experience with Learn content is to leave a comment on the Tutorial and then flag it. You can also flag an existing comment if you’re having the same issue.