warning CS0618: 'UnmanagedType.Struct' when trying to launch

   1740   0   0
User Avatar
Member
190 posts
Joined: 12月 2016
Offline
Hello,
When trying to start my project with the Houdini engine plugin in the appropriate folder. I get the following error.



Assets/Plugins/HoudiniEngineUnity/Scripts/HAPI/HEU_HAPIStructs.cs(684,20): warning CS0618: 'UnmanagedType.Struct' is obsolete: 'Applying UnmanagedType.Struct is unnecessary when marshalling a struct. Support for UnmanagedType.Struct when marshalling a reference type may be unavailable in future releases.'

When i try to start a session sync, I get the following error. (from unity)


When i try to start the session from Houdini I get the following error.

My crash log reads the following.
Crash report from ntanghe; Houdini FX Version 19.5.403 [linux-x86_64-gcc9.3]
Uptime 17 seconds
Sat Oct 15 15:36:54 2022
Caught signal 6

Traceback from 33446 ThreadId=0x7f0731eb6e40
AP_Interface::coreDumpChaser(UTsignalHandlerArg) <libHoudiniUI.so>
AP_Interface::si_CrashHandler::chaser(UTsignalHandlerArg) <libHoudiniUI.so>
signalCallback(UTsignalHandlerArg) <libHoudiniUT.so>
UT_Signal::UT_ComboSignalHandler::operator()(int, siginfo_t*, void*) const <libHoudiniUT.so>
UT_Signal::processSignal(int, siginfo_t*, void*) <libHoudiniUT.so>
__GI___sigaction <libc.so.6>
__pthread_kill_implementation <libc.so.6>
__GI_raise <libc.so.6>
__GI_abort <libc.so.6>
__libc_message <libc.so.6>
malloc_printerr <libc.so.6>
_int_free <libc.so.6>
__free <libc.so.6>
HAPI_StringTable::HAPI_StringTable() <libHoudiniHAPI.so>
_GLOBAL__sub_I_HAPI_StringTable.C <libHoudiniHAPI.so>
call_init <ld-linux-x86-64.so.2>
_dl_init <ld-linux-x86-64.so.2>
__GI__dl_catch_exception <libc.so.6>
dl_open_worker <ld-linux-x86-64.so.2>
__GI__dl_catch_exception <libc.so.6>
_dl_open <ld-linux-x86-64.so.2>
dlopen_doit <libc.so.6>
__GI__dl_catch_exception <libc.so.6>
__GI__dl_catch_error <libc.so.6>
_dlerror_run <libc.so.6>
___dlopen <libc.so.6>
hapilOpenHAPIDSO(char const*, int) <libHoudiniHAPIL.so>
hapilLoadDSOAndFindSymbols(int, char const*) <libHoudiniHAPIL.so>
HAPI_CreateInProcessSession <libHoudiniHAPIL.so>
(anonymous namespace)::hardCreateProcessor() <libHoudiniHARD.so>
HARD_Server::init(HARD_Server::ThriftServerType, HART_TransportType, std::shared_ptr<apache::thrift::transport::TServerTransport>) <libHoudiniHARD.so>
HARD_Server::HARD_Server(HARD_Server::ThriftServerType, HART_TransportType, bool, std::unique_ptr<HARD_Server::ReadyHandler, std::default_delete<HARD_Server::ReadyHandler> >, int, bool, bool) <libHoudiniHARD.so>
HARD_Debugger::HARD_Debugger(int) <libHoudiniHARD.so>
FUSE_EngineSessionSync::startSessionSync() <libHoudiniAPPS3.so>
FUSE_EngineSessionSync::handleStartEvent(UI_Event*) <libHoudiniAPPS3.so>
UI_Queue::processNextEvent() <libHoudiniUI.so>
UI_Queue::drain() <libHoudiniUI.so>
UI_Queue::eventLoop() <libHoudiniUI.so>
main <libHoudiniUI.so>
__libc_start_call_main <libc.so.6>
__libc_start_main_alias_2 <libc.so.6>
main <houdini-bin>



I`m on fedora 36.

Post on unity forums:

https://answers.unity.com/questions/1923240/warning-cs0618-unmanagedtypestruct-when-loading-ho.html [answers.unity.com]
Edited by NicTanghe - 2022年10月15日 09:41:20

Attachments:
Screenshot from 2022-10-14 14-49-42.png (73.3 KB)

  • Quick Links