o3de / o3de

Open 3D Engine (O3DE) is an Apache 2.0-licensed multi-platform 3D engine that enables developers and content creators to build AAA games, cinema-quality 3D worlds, and high-fidelity simulations without any fees or commercial obligations.
https://o3de.org
Other
7.67k stars 2.18k forks source link

Track View: Tracks for Light and Mesh components are outdated #6815

Open LB-BartoszDudzinski opened 2 years ago

LB-BartoszDudzinski commented 2 years ago

Describe the bug Tracks for the Mesh and Light components in the Track View tool are outdated. The following asserts are displayed by adding the LodOverride to the Light track or entering the Game Mode when the affected tracks are added to the sequence:

 C:/o3de/o3de/Gems/Atom/Feature/Common/Code/Source/Mesh/MeshFeatureProcessor.cpp(393): (12516) 'struct 
AZ::RPI::Cullable::LodConfiguration __cdecl AZ::Render::MeshFeatureProcessor::GetMeshLodConfiguration(const class 
AZ::StableDynamicArrayHandle<class AZ::Render::ModelDataInstance> &) const'
<13:57:34> (System) - Invalid mesh handle
 C:/o3de/o3de/Gems/Maestro/Code/Source/Cinematics/AnimComponentNode.cpp(597): (12516) 'void __cdecl 
CAnimComponentNode::AddPropertyToParamInfoMap(const class CAnimParamType &)'
<13:58:26> (System) - All AnimParamTypes animated on Components must have a name for its VirtualProperty

Steps to reproduce Steps to reproduce the behavior:

  1. Create an entity and add Light component to it.
  2. Open the Track View tool and create a sequence.
  3. Add the created entity to the sequence.
  4. Add the LodOverride to the Light track.

Expected behavior No asserts fail. LodOverride can be used successfully on a Light track.

Actual behavior Asserts fail after adding LodOverride to a Light track.

Screenshots/Video assert597 assert393

https://user-images.githubusercontent.com/86952009/148949115-f891d5aa-ff3c-407a-9791-18583cc0d0bd.mp4

Found in Branch Development (f09055a)

Desktop/Device:

superkitcath commented 2 years ago

@amzn-tommy ; can you validate that this is on the Atom side? If not, please sync with sig/content, thanks!