EvergineTeam / Feedback

Feedback, feature requests, and bug reports for Evergine.
https://evergine.com
14 stars 1 forks source link

Prefeb feature missing in Editor (Version 3.1.0.6768) #53

Open JohnMasen opened 3 years ago

JohnMasen commented 3 years ago

Hi guys, Thanks for your hard work, your project really helps me on my Hololens prototype. prefeb is a key feature from version 2.5 . seems this feature is missing in the latest editor, this makes I can't add dynamic object without hardcode every component property.

jcant0n commented 3 years ago

Hi,

Yes, this feature is not available in WaveEngine 3.1 preview, we hope to port this in the incoming months.

The workaround is use scenes as simple prefabs, here you have and example of how to do this. https://github.com/WaveEngine/MixedRealityToolkit-WaveEngine/tree/master/WaveEngine.MRTK/Toolkit/Prefabs

Thanks for your feedback.

JohnMasen commented 3 years ago

Hi, Thanks for your support. I think this should help.

JohnMasen commented 3 years ago

I tried this solution, here's some bugs I found:

  1. the objects in sceneprefeb becomes invisible or pure black while I moving the head in hololens2 project
  2. sceneprefeb will copy the environment and lighting info from template scene. you can remove these from your template scene, however this makes the whole objects in the scene becomes black in Editor.
  3. animated object only appears in the 1st instance of prefeb object(this issue also applies to copy/past the animated object, prefeb seems not the root cause). Suggestions:
  4. do not copy camera/sunlight objects from template scene, or use "Prefeb_Ignore" in Tag to skip object copy.
  5. use string or scene picker instead of Guid in prefebid( TemplateSceneId should be a better name)
emepetres commented 2 years ago

Hi @JohnMasen , FYI we are currently working on that and we have already some support for Prefabs in Evergine. We are working on a Prefabs editor that we will release in the next months.

JohnMasen commented 2 years ago

That's Great! Thanks for your work.

pavel-jezek commented 3 months ago

@jcant0n I'm testing Evergine 2023.9.28.1837 to use in my lectures, and I'm able to create a prefab, and instanciate it, and then edit properties on instances - all in editor. However I'm not able to open the prefeb itself and edit it (as is shown here https://geeks.ms/waveengineteam/2016/05/24/prefab-system-in-wave-engine/ for WaveEngine) - clicking on .weprefab file in assets does nothing. Is this related to this issue? Or it should work?

JohnMasen commented 3 months ago

@pavel-jezek This issue is not related to the problem you have. It is a feature request as the prefeb feature was not avaialbe then.