# BUG：生成菜单场景路径错误导致死机 BUG：メニュー生成時のシーンパスエラーによりクラッシュする BUG: The generated menu scene path is incorrect, leading to a crash

**URL:** <https://guild.rpgmakerofficial.com/t/topic/843>\
**Category:** バグ報告\
**Tags:** 日本語, english, 中文\
**Created:** [2025 年 9 月 8 日午前 10:31 UTC](https://guild.rpgmakerofficial.com/t/topic/843 "2025-09-08T10:31:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![serbow](https://sea2.discourse-cdn.com/flex002/user_avatar/guild.rpgmakerofficial.com/serbow/32/1013_2.png) [@serbow](https://guild.rpgmakerofficial.com/u/serbow)\
**Post date:** [2025 年 9 月 8 日午前 10:31 UTC](https://guild.rpgmakerofficial.com/t/topic/843/1 "2025-09-08T10:31:23Z")

</div>

AGMaker V 1.0.22

問題の概要：

1. メインシーンにボタンを設定し、ボタンをクリックするとメニューシーンが生成される。
2. 物体「open」において、VSイベントがメニューシーンのパスを誤ってメインシーンに設定しているため。
3. このボタンをクリックすると、すぐにフリーズして終了します。
4. これはバグです。

最小再現手順：

1. 添付ファイルをダウンロードしてください。
2. F5でテストし、画面のボタンをクリックしてください。
3. バグが発生します。

問題の説明：  
1 メインシーンにボタンを設置し、ボタンをクリックするとメニューシーンが生成される。  
2 物体「open」において、VSイベントがメニューシーンパスを誤ってメインシーンに設定しているため。  
3 このボタンをクリックすると、すぐにフリーズして終了します。  
4 これはバグです。

最小再現：  
1 添付ファイルをダウンロードしてください。  
2 F5テスト、画面のボタンをクリックしてください。  
3 BUGが表示されます。

Problem description:  
1 Set a button in the main scene. After clicking the button, generate a menu scene.  
2 Because in the “open” object, the VS event incorrectly set the menu scene path to the main scene.  
3 When clicking this button, it leads to a direct crash and exit.  
4 This is a bug.

Minimum reproduction:

1 Download the attachment.  
2 For F5 testing, click the button on the screen.  
3 A bug has occurred.

[バグ再現：メニューシーンパスの誤設定によるフリーズ問題.rar](https://guild.rpgmakerofficial.com/uploads/short-url/88qEvl8uXCi8l85X4xOTkdad7Tg.rar) (283.7 KB)

---

<div class="post-metadata">

**Author:** ![Justus](https://sea2.discourse-cdn.com/flex002/user_avatar/guild.rpgmakerofficial.com/justus/32/55_2.png) [@Justus](https://guild.rpgmakerofficial.com/u/Justus)\
**Post date:** [2025 年 9 月 8 日午後 12:13 UTC](https://guild.rpgmakerofficial.com/t/topic/843/2 "2025-09-08T12:13:17Z")

</div>

1.0.22 でこの問題を確認できます。

---

<div class="post-metadata">

**Author:** ![Justus](https://sea2.discourse-cdn.com/flex002/user_avatar/guild.rpgmakerofficial.com/justus/32/55_2.png) [@Justus](https://guild.rpgmakerofficial.com/u/Justus)\
**Post date:** [2025 年 9 月 12 日午前 3:01 UTC](https://guild.rpgmakerofficial.com/t/topic/843/3 "2025-09-12T03:01:34Z")

</div>

1.0.23 の更新ログによると、メニューを開くアクションに MenuScene 以外のものを指定すると、実行時にエラーが発生します。これが該当するかどうかを確認してください。これにより、誤操作時にどこが間違っているかを特定しやすくなります。

---

<div class="post-metadata">

**Author:** ![serbow](https://sea2.discourse-cdn.com/flex002/user_avatar/guild.rpgmakerofficial.com/serbow/32/1013_2.png) [@serbow](https://guild.rpgmakerofficial.com/u/serbow)\
**Post date:** [2025 年 9 月 12 日午前 7:02 UTC](https://guild.rpgmakerofficial.com/t/topic/843/4 "2025-09-12T07:02:52Z")

</div>

![QQ_1757660463393](https://us1.discourse-cdn.com/flex002/uploads/rpgmaker_community/original/2X/5/5ba5426788c51f5418d6a9cde44895dfaa4bebb5.png)

このクラッシュ問題は、バージョン 1.0.23 で修正されたことが確認されています。

システムはエラーアラートをポップアップ表示し、直接クラッシュすることはありません。確認済みです。

ありがとうございます。
