From the UDN:
>
Open HapticsFeedbackEffect.cpp and naivgate ~ line 150; note HapticBuffer has length populated but never write the actual buffer data.
LikeReplySelect as Best
Seems like a simple fix to just initialize the RawBuffer value there correctly. Something like this perhaps:
// Copy the raw buffer to the haptic buffer
FMemory::Memcpy(const_cast<uint8*>(HapticBuffer.RawData), RawData.GetData(), RawData.Num())
1. Open UHapticFeedbackEffect_SoundWave::Initialize in HapticsFeedbackEffect.cpp
2. Notice that the HapticBuffer has a length set, but never any actual data.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-219752 in the post.
0 |
Component | UE - Platform - XR |
---|---|
Affects Versions | 5.4, 5.5 |
Target Fix | 5.6 |
Created | Jul 19, 2024 |
---|---|
Updated | Sep 25, 2024 |