Lua errors when entering vehicle

Since 9.1.5 I get a Lua error every time I enter a vehicle. I’ve managed to track this down to having moved the player frame (by using the built-in Move Frame function that are on the player frame, no addon). Just to add, I tried removing all adds, including renaming cache, WTF and Interface folders to get a completely clean UI and the problem persists.

How to reproduce:

  • Move the player frame from its default position after unlocking it by right-clicking it and select “Move Frame->Unlock frame”, move it to any position other than the default.
  • Select “Move Frame->Lock frame”
  • Enter a vehicle - A Lua error is shown.
  • Move back the player frame by right clicking it and select “Move frame → Reset position”
  • Enter a vehicle - No more Lua error

Resetting the interface doesn’t necessarily reset console variables. You can reset those by typing /console cvar_default in the chat.

Don’t ask me how to reset individual variables I have no idea.

1 Like

That actually did the trick, thank you!

Before my portrait swapped to whatever vehicle I entered, but now it just shows my portrait all the time, not sure why that changed, but it made the problem go away, so I’m happy.