Hi, I have a dynamic library linked to my Unreal, one of my UClass inherits from one of the libraries objects and in one of its functions it calls a function from the library, afterwards it outputs a text that comes from that library but instead of doing so it crashes.
The value is returned correctly by the library function (aux contains the expected information).
Please help, I am getting desperate with this.
Source Code
FText ACustomUClass::makeRequest()
{
string aux;
aux = sampleRequest(); // Library function
// auxText is a private UProperty from ACustomUClass
auxText = FText::FromString(aux.c_str());
return auxText; // Moment the exception is thrown
// The output goes into a blueprint that shows the text in the display
}