RobotecAI / o3de-genai-gems

Core features and interfaces enabling use of modern AI with O3DE for variety of purposes.
Other
1 stars 0 forks source link

Cannot run the code in debug - assert #57

Closed jhanca-robotecai closed 6 months ago

jhanca-robotecai commented 6 months ago

When trying to start the code in debug mode I am stopped by assert:

System: 
==================================================================
System: Trace::Assert
 /home/jhanca/devroot/o3de/Code/Framework/AzCore/./AzCore/Serialization/EditContext.h(976): (140737352803520) 'EditContext::ClassBuilder *AZ::EditContext::ClassBuilder::Attribute(AZ::Crc32, T) [T = AZ::Crc32]'
System: You can attach attributes only to UiElements!
System: ------------------------------------------------
System: AZ::EditContext::ClassBuilder* AZ::EditContext::ClassBuilder::Attribute<AZ::Crc32>(AZ::Crc32, AZ::Crc32) (+0x5e) [0x7fff38ca7a0e]
System: GenAIFramework::AIComponentBase::Reflect(AZ::ReflectContext*) (+0x16e) [0x7fff3731cebe]
System: GenAIFramework::GenAIFrameworkEditorSystemComponent::Reflect(AZ::ReflectContext*) (+0x1b) [0x7fff3732bc2b]
System: AZ::ComponentDescriptorDefault<GenAIFramework::GenAIFrameworkEditorSystemComponent>::Reflect(AZ::ReflectContext*) const (+0x16) [0x7fff3732ef66]
System: void AZStd::Internal::function_util::get_invoker<void (AZ::ReflectContext*), AZStd::Internal::function_util::function_obj_tag, AZStd::allocator>::call<AZ::ComponentApplication::RegisterComponentDescriptor(AZ::ComponentDescriptor const*)::$_8>(AZStd::Inte
System: AZ::ReflectionManager::Reflect(AZ::Uuid, AZStd::function<void (AZ::ReflectContext*)> const&) (+0x129) [0x7ffff2dbf5f9]
System: AZ::ComponentApplication::RegisterComponentDescriptor(AZ::ComponentDescriptor const*) (+0x74) [0x7ffff2a56ae4]
System: void AZ::Internal::EBusContainer<AZ::ComponentApplicationRequests, AZ::ComponentApplicationRequestsEBusTraits, (AZ::EBusAddressPolicy)0, (AZ::EBusHandlerPolicy)0>::Dispatcher<AZ::EBus<AZ::ComponentApplicationRequests, AZ::ComponentApplicationRequestsEBus
System: AZ::Module::RegisterComponentDescriptors() (+0x57) [0x7ffff31c41e7]
System: AZ::Outcome<void, AZStd::basic_string<char, AZStd::char_traits<char>, AZStd::allocator> > AZStd::Internal::function_util::get_invoker<AZ::Outcome<void, AZStd::basic_string<char, AZStd::char_traits<char>, AZStd::allocator> > (), AZStd::Internal::function_
System: AZ::ModuleManager::LoadDynamicModule(char const*, AZ::ModuleInitializationSteps, bool) (+0x796) [0x7ffff2d21006]
System: AZ::ModuleManager::LoadDynamicModules(AZStd::vector<AZ::DynamicModuleDescriptor, AZ::AZStdAlloc<AZ::OSAllocator> > const&, AZ::ModuleInitializationSteps, bool) (+0xac) [0x7ffff2d2177c]
System: void AZ::Internal::EBusContainer<AZ::ModuleManagerRequests, AZ::ModuleManagerRequests, (AZ::EBusAddressPolicy)0, (AZ::EBusHandlerPolicy)0>::Dispatcher<AZ::EBus<AZ::ModuleManagerRequests, AZ::ModuleManagerRequests> >::BroadcastResult<AZStd::vector<AZ::Out
System: AZ::ComponentApplication::LoadDynamicModules() (+0x4c4) [0x7ffff2a58144]
System: AZ::ComponentApplication::CreateCommon() (+0x271) [0x7ffff2a556b1]
System: AZ::ComponentApplication::Create(AZ::ComponentApplication::Descriptor const&, AZ::ComponentApplication::StartupParameters const&) (+0x19f) [0x7ffff2a553bf]
System: AzFramework::Application::Start(AZ::ComponentApplication::Descriptor const&, AZ::ComponentApplication::StartupParameters const&) (+0x1d) [0x7ffff48086fd]
System: AzToolsFramework::ToolsApplication::Start(AZ::ComponentApplication::Descriptor const&, AZ::ComponentApplication::StartupParameters const&) (+0x4b) [0x7ffff33bf99b]
System: EditorInternal::EditorToolsApplication::Start() (+0x56) [0x7ffff2409b26]
System: CryEditMain (+0x48d) [0x7ffff23e617d]
System: main (+0xe0) [0x5555555de5f0]
System: __libc_init_first (+0x90) [0x7ffff7029d90]
System: __libc_start_main (+0x80) [0x7ffff7029e40]
System: _start (+0x25) [0x5555555de445]
System: ==================================================================