# VRNotifications Compornentの通知

**URL:** <https://forums.unrealengine.com/t/vrnotifications-compornent/393308>\
**Category:** XR Development\
**Tags:** unreal-engine, UE4, Blueprint, question\
**Created:** [May 11, 2017, 6:35am UTC](https://forums.unrealengine.com/t/vrnotifications-compornent/393308 "2017-05-11T06:35:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![extremetaira](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@extremetaira](https://forums.unrealengine.com/u/extremetaira)\
**Post date:** [May 11, 2017, 6:35am UTC](https://forums.unrealengine.com/t/vrnotifications-compornent/393308/1 "2017-05-11T06:35:56Z")

</div>

HMDを装着する時を検出をしたく、VRNotifications Compornentを追加し、HMPutOnHeadDelegateイベントを追加したのですが、イベントが発生しません。

> **[The Unreal Engine Issues and Bug Tracker](https://issues.unrealengine.com/issue/UE-41448)**
>
> Welcome to the Unreal Engine Issue and Bug Tracker. You can check the status of an issue and search for existing bugs. See latest bug fixes too.

上記のようなバグレポートを見つけたのですが、RoboRecallのModKitでは上記イベントを使用した箇所があるため、使えないということは無いと思ったのですが、文献などがなく、行き詰まっている状態です。  
上記イベントを使用するのにあたって必要な設定などがあるのでしょうか？  
VRNotifications CompornentのAutoActiveをtrueにしたとき  
OnCompornentActivateイベントのみ発生することを確認しました。

---

<div class="post-metadata">

**Author:** ![PierPop](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PierPop](https://forums.unrealengine.com/u/PierPop)\
**Post date:** [May 11, 2017, 9:03am UTC](https://forums.unrealengine.com/t/vrnotifications-compornent/393308/2 "2017-05-11T09:03:05Z")

</div>

UE-41448のpullrequestを内容から推測するとOculus側の着脱検出通知が行われていないようですので、  
恐らくRoboRecallのModKitでも同様の問題が発生するかと思われます。  
OnCompornentActivateが確認できているようですのでOnRegisterでの登録は成功しているとすると、  
上記の点が原因の可能性が高いです。  
どうしても急ぎ対応を行われたい場合はpullrequestの内容をローカルでマージして動作確認するか、  
この問題が修正されるのを待つことになるかと思います。

[https://github.com/EpicGames/UnrealEngine/pull/3203](https://github.com/EpicGames/UnrealEngine/pull/3203)
