DDS Writers UE4 C++

3 posts / 0 new
Last post
Offline
Last seen: 2 years 5 months ago
Joined: 04/14/2022
Posts: 8
DDS Writers UE4 C++

Hello,

I am currently making a small game in Unreal Engine 4 to grasp the concept of DDS and I made it all work on a XML file.

Now I'm trying to not use the file and make my type in the code.

The problem comes when I have in my player code, two writers based on the same type with different topics.

One writes every tick sending the position of the player and the other writes when the player fires.

When I try to change the dds::core::QosProvider::Default()... to my create_type() function, UE4 crashes when it tries to create the second writer.

The error is Unhandled Execption: 0xe06d7363

Keywords:
Offline
Last seen: 2 years 5 months ago
Joined: 04/14/2022
Posts: 8

I also get rti::core::detail::throw_return_code_ex() and rti::core::Entity::remember_reference()

Offline
Last seen: 8 months 1 week ago
Joined: 06/13/2013
Posts: 17

Are you by any chance trying to register the same type twice? Can you share some of your code or a reproducer?