claude-code - ๐Ÿ’ก(How to fix) Fix [BUG] False positive safety block: triggered without apparent reason during game dev session

Official PRs (โ€ฆ)
ON THIS PAGE

Recommended Tools

ร—6

Utilities matched from this issueโ€™s tags and category โ€” try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful ยท Quick feedback

Loadingโ€ฆ

Error Message

During a game development session using Claude Code (Unity roguelike project), the following error appeared repeatedly without any apparent trigger: During a game development session using Claude Code (Unity roguelike project), the following error appeared repeatedly without any apparent trigger:

Error Messages/Logs

Error Message (as displayed in UI):

RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

During a game development session using Claude Code (Unity roguelike project), the following error appeared repeatedly without any apparent trigger:

"์š”์ฒญ์ด ์ฐจ๋‹จ๋˜์—ˆ์Šต๋‹ˆ๋‹ค. ์ด ์š”์ฒญ์ด ์•ˆ์ „ ์ œํ•œ์„ ํŠธ๋ฆฌ๊ฑฐํ–ˆ์Šต๋‹ˆ๋‹ค." ("Request blocked. This request triggered a safety restriction.") Environment:

  • Platform: Windows 11 Pro (10.0.22631)
  • Model: claude-sonnet-4-6
  • Claude Code version: [insert version here โ€” run claude --version] Context:
  • Task: Reviewing and analyzing passive skill code in a Unity 6 roguelike game
  • Content involved: game mechanics terminology (damage, lightning, chain, shock, attack)
  • No harmful, sensitive, or policy-violating content was present in the session Behavior:
  • The block message appeared multiple times during normal code analysis tasks
  • No specific action could be identified as the trigger โ€” it appeared to occur randomly
  • The issue resolved itself and is not currently reproducible
  • Context window usage was at ~96% at the time Expected behavior: Normal game development assistance should not trigger safety restrictions. Impact: Workflow interruption during a long analysis session. Unable to determine which part of the conversation caused the false positive.

What Should Happen?

During a game development session using Claude Code (Unity roguelike project), the following error appeared repeatedly without any apparent trigger:

"์š”์ฒญ์ด ์ฐจ๋‹จ๋˜์—ˆ์Šต๋‹ˆ๋‹ค. ์ด ์š”์ฒญ์ด ์•ˆ์ „ ์ œํ•œ์„ ํŠธ๋ฆฌ๊ฑฐํ–ˆ์Šต๋‹ˆ๋‹ค." ("Request blocked. This request triggered a safety restriction.") Environment:

  • Platform: Windows 11 Pro (10.0.22631)
  • Model: claude-sonnet-4-6
  • Claude Code version: [insert version here โ€” run claude --version] Context:
  • Task: Reviewing and analyzing passive skill code in a Unity 6 roguelike game
  • Content involved: game mechanics terminology (damage, lightning, chain, shock, attack)
  • No harmful, sensitive, or policy-violating content was present in the session Behavior:
  • The block message appeared multiple times during normal code analysis tasks
  • No specific action could be identified as the trigger โ€” it appeared to occur randomly
  • The issue resolved itself and is not currently reproducible
  • Context window usage was at ~96% at the time Expected behavior: Normal game development assistance should not trigger safety restrictions. Impact: Workflow interruption during a long analysis session. Unable to determine which part of the conversation caused the false positive.

Error Messages/Logs

Steps to Reproduce

Error Message (as displayed in UI):

"์š”์ฒญ์ด ์ฐจ๋‹จ๋˜์—ˆ์Šต๋‹ˆ๋‹ค. ์ด ์š”์ฒญ์ด ์•ˆ์ „ ์ œํ•œ์„ ํŠธ๋ฆฌ๊ฑฐํ–ˆ์Šต๋‹ˆ๋‹ค. ํ”„๋กฌํ”„ํŠธ๋ฅผ ๋‹ค์‹œ ์ž‘์„ฑํ•˜๊ฑฐ๋‚˜ ๋˜๋Œ๋ ค์„œ ๊ณ„์†ํ•˜์„ธ์š”." (Translation: "Request blocked. This request triggered a safety restriction. Please rewrite or revert the prompt to continue.") Logs: No specific log output was captured. The block message appeared as a UI notification within the Claude Code session. Frequency: Appeared multiple times during the same session (~3โ€“5 times), then stopped occurring on its own. Last known occurrence: During a long code analysis session (Unity game project, passive skill system review). Context window usage was approximately 96% at the time of occurrence.

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

Version unknown โ€” installed via desktop app

Claude Code Version

Version unknown โ€” installed via desktop app

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

The safety block occurred repeatedly (~3โ€“5 times) during a long game development session without any identifiable trigger. The session involved analyzing Unity C# scripts related to a roguelike game (damage systems, skill mechanics). Context window usage was approximately 96% at the time. The issue resolved itself and is no longer reproducible. No harmful or policy-violating content was present.

Vote matrix ยท Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loadingโ€ฆ

Still need to ship something?

ร—6

Another batch ranked right after the header list โ€” different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - ๐Ÿ’ก(How to fix) Fix [BUG] False positive safety block: triggered without apparent reason during game dev session