openai / openai/codex

Floating mascot overlay crashes with “r is not a function” on macOS

Open
#44,858 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

app bug pets
Dominant language
Rust
Stars
125k
Forks
19.4k
PR merge metrics
PR metrics pending

Description

The floating mascot overlay repeatedly displays the generic “ChatGPT encountered a problem” error screen.

Environment:

  • Platform: macOS
  • ChatGPT desktop version: 26.908.31748
  • Update checker reports 26.903.71938 as the latest available version
  • The main ChatGPT/Codex window remains usable

Steps to reproduce:

  1. Open the ChatGPT desktop app.
  2. Enable or wake the floating mascot.
  3. Open or interact with the mascot overlay.
  4. The overlay displays the generic crash page with “Retry” and “Update” buttons.
  5. Clicking “Retry” does not resolve the issue.
  6. Clicking “Update” reports that version 26.903.71938 is the latest, although version 26.908.31748 is already installed.

Expected result:
The floating mascot and its activity overlay should open and remain functional.

Actual result:
The mascot overlay crashes and shows the generic error page.

Relevant log entry:

  • Component: AppRoutes
  • Window: avatarOverlay
  • Error: Error: r is not a function
  • Timestamp: 2026-09-11T16:07:41.750Z

The same error occurs repeatedly in the application logs.

Workaround:
Hiding the mascot with /pet prevents the broken overlay from being displayed.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure in the macOS desktop app with the floating mascot enabled, then inspect the AppRoutes logs for the avatarOverlay window and the repeated “r is not a function” error. Done means the mascot and activity overlay open and remain usable without the generic crash page, and Retry and Update behave correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.