# Why AI Goes Out of Character (OOC) and How to Fix It

Source: https://lunafic.ai/blog/why-ai-goes-out-of-character | Published: 2026-09-23T08:51:14.525Z | Updated: 2026-09-23T08:51:14.526Z | Author: Lunafic Team | Tags: Roleplay, OOC, Memory

> Why AI roleplay characters go OOC on long stories, the tricks that help in any app, and how chapter memory and a world bible keep characters in character.

Everything is going well, the banter, the slow build, the world you two built together, then twenty replies in, she asks your name like you never met. You stare at the screen thinking, "Wait, we already kissed, why are you acting like this is the first time we talk?" That is OOC, out of character, and it happens because the AI only reads the recent chunk of your chat, and the moments that shaped the character slowly fall out of that chunk.

## What does OOC actually mean?

OOC stands for out of character. It is the moment an AI character breaks who they are, forgetting a fact you established, dropping their speech style, or suddenly talking like a customer service assistant instead of the person you met. Roleplayers have used the word for decades, and in AI apps it became the word for the moment the spell breaks.

A tsundere who stops being stubborn is OOC. A villain who apologizes is OOC. A character who knows a secret nobody told them is also OOC, and that second kind is worse, because it breaks the story logic, not just the personality.

## Why does the AI forget who it is?

Every chat app works the same way underneath, it hands the model the recent chunk of the conversation, and hoping everything would be okay. But AI models have a limit called the Context Window, and the more you put in, the more expensive it gets. So most apps quietly keep the recent messages and drop the old ones. The kiss, the promise, the rule you set on day one, all of it scrolls out of the window, and the model has nothing left that shapes the character.

There is a second problem on top of that. Even when a model does read a long history, researchers found that details sitting in the middle of a big pile get less attention than the start and the end. So your character definition can be technically inside the window, and still get missed, which is why OOC gets worse exactly when your story gets good.

## The "we already kissed" problem

This is not a rare complaint. One Character.AI user wrote it plainly, the bot keeps forgetting basic stuff, and she had to keep re-adding details that were already established, "like that they have kissed before, the bot keeps acting like this is the first time". Reddit roleplay communities have million of members and this exact complaint shows up every week, on every app.

The reason is simple once you see it. Personality and memory are the same thing for an AI character. A character is the sum of what happened to them, and when the app drops what happened, the character goes with it.

## How do people fight OOC today?

- Re-paste the character description into the chat when it drifts. It works, for a while, then the paste itself scrolls out of the window.
- Write OOC notes in brackets, like (remember, she already knows about the letter). Same fate, it helps for a few replies, then it is gone.
- Restart the chat when it gets bad. The nuclear option, you keep the character, you lose the story.
- Pay for a memory add-on, where the app offers one. It softens the problem, it does not remove it, because the add-on sits outside the story you actually read.

If you want the longer version of why these workarounds all hit the same wall, [we have a whole article about story memory here](https://lunafic.ai/blog/ai-roleplay-long-term-memory).

## How to keep AI in character, in any app

These help everywhere, not only on Lunafic, because they work with the window instead of against it.

- [object Object]Do it naturally, in-story. "You still remember the night at the shrine" costs one line and re-anchors everything attached to it.
- [object Object]How they talk, what they never say, what they want. A definition that is a novel gets skimmed by the model the same way it gets skimmed by a human.
- [object Object]Every extra character splits the window's attention. Two or three voices hold, a crowd goes OOC first.
- [object Object]This is the big one. A recap you can read and edit becomes the character's memory, and it survives no matter how far the chat scrolls.
- [object Object]Not in message thirty, in a place that is always in front of the model.

## What Lunafic does differently

Lunafic was built by someone who fought this problem manually for more than two years before building the product, so the fixes are structural, not pasted in. Here is the same story, both ways.

**An ordinary chat app**

The model sees the recent messages. Everything older is gone or summarized somewhere you cannot read. Your character definition was pasted once, a hundred messages ago.

---

**Lunafic**

Before every reply, the AI reads your newest scenes word for word, a recap of the older chapters that you can open and edit, the world bible that describes how each character talks and acts, and who currently knows which secret. The kiss in chapter two is in the recap in chapter forty.

The world bible is the part that fixes personality drift. It is a wiki of your world the AI re-reads before every reply, so a tsundere stays stubborn because the stubbornness is written where the model always sees it, not where it scrolled away. And character memory is kept separate from story memory, a character only knows what they actually learned in your story, so a secret stays a secret in chapter 40.

MC Mode fixes the other face of OOC, the app writing your character for you. You play your character, the AI plays everyone else and never touches your lines. [We wrote about that problem here](https://lunafic.ai/blog/character-ai-alternative-where-the-ai-doesnt-play-your-character).

## Where Lunafic still needs work, honestly

Very long single scenes can still drift, no app fully solved that, and when a recap is generated you sometimes want to edit a line yourself, the system allows it but you have to look. And Lunafic is still a new product with less characters you probably wanted. The memory holds the story together, the surface still needs polish, we are working on that part next.

## Test it yourself tonight

Open a world, establish something concrete in your first ten messages, a promise, a secret, a scar, then write sixty more, and ask about it. If the answer comes back in the character's own voice, *"you really think I forgot the shrine?"*, the memory is doing its job.

Go ahead, try to break it, that is the fun part. [Lunafic is free to start](https://lunafic.ai/). :D

---

Read this on Lunafic: https://lunafic.ai/blog/why-ai-goes-out-of-character
More from Lunafic: https://lunafic.ai/blog
What is Lunafic: https://lunafic.ai/ai-roleplay
AI characters you build stories with over long memories. You play as your character, the AI plays everyone else, and stories stay private by default.