ynput / ayon-unreal

Unreal Engine integration addon for AYON
Apache License 2.0
3 stars 2 forks source link

Layout loader without asset #17

Open moonyuet opened 1 month ago

moonyuet commented 1 month ago

Is there an existing issue for this?

Current Behavior:

Another issue being that if any assets do not exists already within UE project (aka been loaded in advance) the Load Layout will fail resulting into empty UE map. Again I dont know if any particular UE addon branch needed in companion to this PR?? to make that working...

Expected Behavior:

It shouldn't fail and result empty UE map level.

Version

1.0.0

What platform you are running on?

Windows

Steps To Reproduce:

  1. Load Layout with empty scene
  2. Fail with empty UE map

Are there any labels you wish to add?

Relevant log output:

No response

Additional context:

No response

moonyuet commented 1 month ago

I investigate the issue, the load layout still works as expected without loading model but once the model is removed from the scene inventory, the system is not allowed to remove the layout instance(which is a bug). Also there is some issue for load layout from existing where we cannot get the representation parent and raise the exception. And this needs to be fixed too.