Description

Migrating to a Game Feature plugin can result in assets' losing references.

From User:
"Migrating assets to a game feature plugin's content directory leaves them having invalid references, editor thinks they reside in "/Game/..." instead it should've pointed to "/GameFeature/..."

The only workaround I found was to migrate to main project's content directory then move them over to the GameFeature's content directory "

Steps to Reproduce
  1. Create or open L.yra Game Starter project
  2. Create a new Content Only Plugin named Test:
    1. Open the Plugins window
    2. Select the Add button
    3. Select Game Feature (Content Only)
    4. Name the Plugin Test
    5. Select Create Plugin
  3. Open a separate Project:
    1. Create a Texture
    2. Create a Material that uses the Texture in a Texture Sample node
  4. In the Browser right click the Material then select Asset Action > Migrate
  5. Select Okay then pick the Test Plugin's content directory(...L.yraStarterGame\Plugins\GameFeatures\Test\Content)
  6. Open the migrated Material in L.yra

Expected Results:
The Texture Sample node is referencing the correct Texture

Actual Results:
The Texture Sample node no longer has a texture assigned

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-157036 in the post.

3
Login to Vote

Fixed
ComponentUE - Gameplay
Affects Versions5.0.2
Target Fix5.1
Fix Commit22766734
Release Commit22766734
CreatedJun 17, 2022
ResolvedNov 4, 2022
UpdatedNov 7, 2022