Announcement

Collapse
No announcement yet.

Prefab Tool - Prefab Support for Unreal Engine

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • replied
    Prefab Tool 1.0.7 feature sneak peak - Selection Lock



    Coming to 1.0.7, you can now lock selection of prefab actor. It works kind of like group, once locked, you can't select any children actors.

    ( It's probably the most requested feature, the original plan is to implement it through built-in group actor, but at the end decided to go with my own implementation. )

    Leave a comment:


  • replied
    1.0.6 update is live now on Unreal Marketplace and itch.io.

    Code:
    1.0.6
    ------------------
    * Add Stamp Prefab option to level editor context menu to spawn disconnected prefab actor
    * Add Replace Selected Actors with Prefab to context menu as a replacement of built-in "Replace Selected Actors with" function
    * Add Change Prefab option to context menu
    * Add "Replace Actors With Created Prefab" option in Prefab editor setting
    * Add Prefab Component Visualizer
    * Now generated blueprint will inherit mobility setting from prefab
    * Add workaround to persist painted vertex color of blueprint instances inside prefab
    * Fix ensure issue in generated blueprint
    * Fix bug when creating a new prefab out of a prefab and immediately placing it will cause the contents of the original prefab in the scene to disappear
    * Fix bug circular nested prefab might be created when applying prefab change
    * Fix bug attempting to create nested prefab when nested prefab support is off
    * Change Prefab editor module's LoadingPhase to PostEngineInit
    * Minor code refactoring
    The "Replace Actors With Created Prefab" and "Prefab Component Visualizer" options could be turn on from Prefab Tool editor setting.

    Leave a comment:


  • replied
    What's new in Prefab Tool 1.0.6

    Leave a comment:


  • replied
    Originally posted by Yun-Kun View Post
    Nope! It's being used in our top-secret incoming game! I'm working in an indie studio in Lyon, France

    Sacred Swords was a solo-project I made aside from work to learn everything I could.

    Let me know if you'd like me to take some production footage using your tool.
    I see. It'll be so cool to see how you guys using the tool in production. But...isn't it still top-secret?

    Leave a comment:


  • replied
    Nope! It's being used in our top-secret incoming game! I'm working in an indie studio in Lyon, France

    Sacred Swords was a solo-project I made aside from work to learn everything I could.

    Let me know if you'd like me to take some production footage using your tool.

    Leave a comment:


  • replied
    Originally posted by Yun-Kun View Post
    Hey there

    Just wanted to step in to say that the Blueprint feature is awesome!

    We also improved it to support Child Blueprints and keep their custom values from Prefab to Blueprint.

    Our level design process is actually going faster than ever!

    Great work.
    That's so cool! I assume it's been used in Sacred Swords? Now I wish you updating the Sacred Swords dev log on your youtube channel.

    Leave a comment:


  • replied
    @Denis.Korkh

    Thanks a lot for reporting the nested prefab issues! They'll be fixed in next update.

    The built-in "Replace Selected Actors with" action is problematic with Prefab, as it assumes one actor been spawned per selected actor and the new actor will be renamed to old actor's name. I'll add Prefab friendly ""Replace Selected Actors with"Prefab" action in next update.



    Here's a sneak peak of new context menu I'm working on:

    Stamp Prefab: to place a disconnected prefab
    Replace Selected Actors with Prefab: as replacement of built-in "Replace Selected Actors with" action
    Change Prefab to: a shortcut to switch prefab

    I plan to start working on the "group/lock selection" feature after next 1.0.6 update.

    Leave a comment:


  • replied
    I looked at the plug-in more in-depth and came up with a couple more notes:

    There's nothing to prevent one from creating circular nested prefabs but hitting apply on such prefab will cause descent into madness and eventual out of memory crash.
    With nested prefabs option turned off, there's nothing to stop you from creating a prefab out of a prefab with poor results - nested prefabs with empty contents.
    Creating a new prefab (Prefab_B) out of a prefab in the scene (Prefab_A) and immediately placing it will cause the contents of the original prefab (Prefab_A) in the scene to disappear.
    "Replace Selected Actors With" action from right-click context menu on a placed prefab will replace the prefab actor but leave its contents attached to whatever you replace it with.
    Occasionally "Replace Selected Actors With" will cause a crash at UObject::Rename() Line 198 - "Renaming an object on top of an existing object is not allowed" but I haven't found a consistent reproducible case.

    A nice positive - comparing InitViews/Draw performance with 4k prefabs w/ cube static mesh actor vs 4k blueprint w/ cube static mesh component the prefabs performed almost 2x better (2.5ms vs 4ms in my environment).

    A couple wishes from our team:
    A setting so that when we select a member of a prefab it automatically selects the parent - similar to how groups work.
    A setting for the default state of "connected" so that we could have placed prefabs disconnected by default when placed.

    I hope any of this feedback is useful to you, let me know if you'd like me to provide example gifs/scenes etc. And thank you, this tool has been a tremendous improvement to our workflow.

    Leave a comment:


  • replied
    Hey there

    Just wanted to step in to say that the Blueprint feature is awesome!

    We also improved it to support Child Blueprints and keep their custom values from Prefab to Blueprint.

    Our level design process is actually going faster than ever!

    Great work.
    Last edited by Yun-Kun; 10-01-2017, 05:46 AM.

    Leave a comment:


  • replied
    @emanuel.may,

    Sorry for that ensure issue you ran into, I'll include a fix in next update, meanwhile you can open "PrefabTool\Source\PrefabAsset\Private\PrefabToolHelpers.cpp" and comment out line 5504. ( The "Update Blueprint" button in prefab detail panel could be used to re-generate the blueprint after re-build the plugin ).

    Code:
    5504:                    ChildNode->SetParent(*ParentNodePtr);
    That line is only need for attaching child component/node to inherited/native component and will trigger the ensure (added after 4.16) check if the rule been violated.

    Thanks a lot for reporting that issue!

    Leave a comment:


  • replied
    Hi Nate, thanks for this handy tool! Unfortunately we ran into an ensure whenever we load the engine after we created a blueprint from a prefab. The ensure is in "SimpleConstructionScript.cpp:446" in 4.17. I think it mainly happens on child actors that use construction scripts themselves, but I am not sure yet. For now we commented the ensure out, as it does not seem to have much affect on the way the engine works, but it would be better if you'd take a look as well and maybe figure out why the blueprints trigger this ensure in the first place. I think it has something to do with actors getting renamed during the blueprint generation of your tool.

    Leave a comment:


  • replied
    Thank you! It gives us a ton of confidence to see how responsive and active you are in continuing to make this tool better, we definitely appreciate it.

    Leave a comment:


  • replied
    Denis.Korkh, the vertex color data painted inside blueprints will be lost when you duplicated the blueprint instances inside editor (unless the static mesh component is the native root component), It's UE's default behavior and I'm not quite sure whether it's by design or a bug indeed. I'll implement a workaround for that in next update.

    I probably will never has the chance to run into that particular usage (painting on a non-root static mesh inside a blueprint inside of a prefab) in my own project , so thanks a lot for reporting that issue to me.

    Leave a comment:


  • replied
    Ah! I apologize - we were actually painting on static meshes inside blueprints inside prefabs. While it would still be nice to be able to do it that way, realizing that it works on simple static meshes in prefabs gives us a simpler work-around for now. Thank you for taking a look!

    Leave a comment:


  • replied
    @Denis.Korkh

    So glad you like the tool

    Instance vertex colors should be applied to copies of the prefab, here's a simple test I just did:
    https://streamable.com/wwb1e

    So it might be a bug somewhere. What version of Prefab Tool are you using? And if not too much trouble can you send me a test level for reproducing the bug? Thanks!

    Leave a comment:

Working...
X