I made a simulation of a farm in Webots using the new animals objects released with R2023a.
I first developed my simulation using these instruction to build Webots from sources: https://github.com/cyberbotics/webots/wiki/Linux-installation/ I did that to have access to the animals before R2023a was released.
However, now that R2023a is out, I installed the snap package to continue my project. But the world is completely broken.
The world loads, but the screen is black and the terminal is flooded with errors like that:
ERROR: URL '/snap/webots/24/usr/share/webots/projects/objects/animals/protos/Horse.proto' changed by fallback mechanism. Ensure you are opening the correct world.
ERROR: Skipped PROTO 'Horse' as it is not available at: /snap/webots/24/usr/share/webots/projects/objects/animals/protos/Horse.proto.
ERROR: URL '/snap/webots/24/usr/share/webots/projects/objects/animals/protos/Horse.proto' changed by fallback mechanism. Ensure you are opening the correct world.
ERROR: 'agriProj.wbt':11:1: error: Skipped unknown 'Horse' node or PROTO.
ERROR: URL '/snap/webots/24/usr/share/webots/projects/objects/animals/protos/Horse.proto' changed by fallback mechanism. Ensure you are opening the correct world.
Operating system: ubuntu 22.04
What I have tried so far:
I tried to install Webots with the .deb and also the .tar.bz2 but I had the same issue.
I made a minimal example of just a horse, viewpoint and worldinfo but it is still bugging.
I tried to add a new horse and it works as if the horse from the Webots built from sources is not compatible with the horse from the distributions, which is really strange.
It seems to affect only PROTO, not base node like Transform, Solid, Background ans so on.
Is there something specific to do when switching from sources to released packages?