#4664·bullet3

ERROR: Not able to use GUI window in MacOS

Author: mantros2003Created Sep 29, 2024Updated Jun 1, 2026

Whenever I connect using p.GUI, the following warning is displayed:

WARNING: Secure coding is not enabled for restorable state! Enable secure coding by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState: and returning YES.

After this, the GUI window is opened but is not responsive and there is the spinning wheel instead of mouse pointer. I am able to load URDFs and they are initially rendered but not simulated. This problem might be due to Tk as there have been similar bug reports in matplotlib. Other info:

  • Version = 4.1 Metal - 88.1
  • Vendor = Apple
  • Renderer = Apple M1

System Info:

  • OS: MacOs Sonoma 14.6.1
  • Python: 3.12.6
  • pybullet: 3.2.6