-
-
Notifications
You must be signed in to change notification settings - Fork 484
Description
[RU]
В момент, когда подходим к вражеским NPC (должна начаться перестрелка), игра внезапно умирает. Нет ни вылета с ошибкой, ни лога, она просто намертво зависает.
Как потом показала визуалка и дебаг, дело оказалось в динамической музыке (включается в настройках звука), а конкретно незакомментированных (или неверно закомментированных) ogg-файлах. Сначала не обращали на это внимание, так как отсутствие комментариев в ogg-аудио обычно не является критической проблемой и просто маячит в консоли или логе как некритичные ошибки (по аналогии с бамп-текстурами).
- Заменяем динамическую музыку (combat\theme_part_xxx) на беззвучные затычки.
- Включаем динамическую музыку в игре (в настройках звука).
- Подходим к скоплению враждебно настроенных NPC, перед тем как должна начаться перестрелка.
- Игра намертво виснет. Никакого репорта об ошибке не появляется.
По-хорошему в момент зависания должен быть отчёт об ошибке со ссылкой на эти аудиофайлы, но в итоге она «маячила где-то на фоне», пока сами не обратили внимание в Visual Studio на консоль в момент зависания и строчки лога. Не знаю уж, это в OpenXRay сделано, чтобы игра зависала при наличии незакомментированных ogg-аудио, то ли дело конкретно в динамической музыке, которая включается при реагировании противников на игрока.
Прикладываю ссылку на видео, в котором отчетливо зафиксирован процесс, включительно с зависанием и строками об отсутствующих комментариях в ogg-аудио.
Багрепорта нет, как я упоминал. Эта проблема видна только в Visual Studio во время дебаггирования. Но лог прикладываю для того, чтобы было видно, что с обычной версией движка жалоб в логе на ogg-аудио не видно вообще.
Кроме того, приложил эти самые «затычки» для динамической музыки (ставили временно, так как есть желание либо вырезать её на фиг из движка, либо заменить на свою, что потребует особого подхода).
— OC: Windows 10
— OpenXRay Release Build (29.09.2025)
Сделайте так, чтобы выдавало ошибку со ссылкой на отсутствие комментариев в ogg-аудио. Чтобы не было таких придурков как мы, которые полгода искали причину и пробовали всё на свете, пока осознали, что проблема всё это время была под носом.
[ENG]
The moment we approach enemy NPCs (a firefight should start), the game suddenly crashes. There is no error message or log, it just freezes completely.
As the 'visual' and debugger later showed, the problem was with the dynamic music (enabled in the sound settings), specifically with uncommented (or incorrectly commented) ogg-files. At first, we didn't pay attention to this, since the absence of comments in ogg audio is usually not a critical issue and simply appears in the console or log as non-critical errors (similar to bump textures).
- Replace the dynamic music (combat\theme_part_xxx) with silent placeholders.
- Enable dynamic music in the game (in the sound settings).
- Approach a group of hostile NPCs before the shootout is supposed to start.
- The game freezes completely. No error report appears.
Ideally, at the moment of freezing, there should be an error report with a reference to these audiofiles, but in the end, it was “somewhere in the background” until we ourselves paid attention to the console in Visual Studio at the moment of freezing and the log lines. I don't know if this is done in OpenXRay to make the game freeze when there are uncommented ogg-audio files, or if it's specifically due to the dynamic music that plays when enemies react to the player.
I am attaching a link to a video that clearly shows the process, including the freeze and the lines about missing comments in the ogg audio.
As I mentioned, there is no bug report. This problem is only visible in Visual Studio during debugging. But I am attaching the log so that you can see that with the regular version of the engine, there are no complaints about ogg-audio in the log at all.
In addition, I added these placeholders for dynamic music (they were installed temporarily, as there is a desire to either remove it from the engine altogether or replace it with our own, which will require a special approach).
— OC: Windows 10
— OpenXRay Release Build (09/29/2025)
Make it so that it gives an error with a reference to the lack of comments in ogg audio. So that there won't be idiots like us who spent six months looking for the cause and trying everything under the sun before realizing that the problem was right under our noses the whole time.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status