webots icon indicating copy to clipboard operation
webots copied to clipboard

Webots only runs when launched by the installer

Open Doodlinka opened this issue 11 months ago • 2 comments
trafficstars

Describe the Bug Webots crashes at the "loading world" stage (85-100%), refusing to elaborate on Windows 10 and complaining about missing DLLs (which i found in msys4/mingw64/bin/cpp IIRC) on Windows 11 (4 error boxes). The error happened on two different machines on both user and system-wide installations (though i haven't tried system-wide on Windows 10). The crash doesn't happen when Webots is run by the installer via the final "Launch Webots" checkbox, so it can be circumvented by reinstalling the program every time you use it (but it's dumb). May be a duplicate, but all other issues seem closed, yet here it is (also, none seem to mention the installation part).

Steps to Reproduce

  1. Install Webots 2022b, 2023a, or 2023b (haven't tested others).
  2. On the "Setup has finished" stage, uncheck "Launch Webots", or launch it and close the program.
  3. Try to start it again.

Expected behavior Webots should run when started by the user.

Screenshots coming later, maybe

System

  • Operating System: Windows 10 and 11
  • NVIDIA GeForce GTX 1660 Ti on the Windows 10 machine, coming later for Windows 11

Additional context Add any other context about the problem here.

Doodlinka avatar Dec 11 '24 18:12 Doodlinka

There are many Webots users on Windows and each release is manually tested on a clean Windows machine, so it is strange you are experiencing the issue. I am pretty sure there is something with your environment, but we have to figure out what exactly.

Could it be possible you are using an Antivirus program that's messing up with the shared libs?

lukicdarkoo avatar Dec 11 '24 22:12 lukicdarkoo

My only antivirus is Windows Defender. I'll try on a nearly clean Windows machine, and a clean VM, with Defender on and off. Will also try letting it through the firewall, which someone reported as a solution to a similar problem. Though it's odd that not having internet access would mess up access to libraries, I thought it only wanted that for telemetry and updates.

Doodlinka avatar Dec 12 '24 09:12 Doodlinka

i've returned to this program in version 2025a and it works for me now, so i guess it was fixed

Doodlinka avatar Aug 12 '25 05:08 Doodlinka