Lyra - Migration from 5.4 to 5.5

Hello,

I am currently building a game based on Lyra which I migrated to 5.4 before. The project was running fine there.

Now I want to switch to 5.5 and I’am facing some problems.

Lyra used PlayerMappableOptions before and for that called the following functions which are now deprecated AND deleted in 5.5.

The documentation tells me to use UEnhancedInputUserSettings instead which I tried, unfortunately I have no clue how to get this working.

If I try to get the user settings I get the error “pointer to incomplete class type is not allowed”.

So I would be happy if someone could explain to me A) how I can use the new Usersettings to get the project running again and B) how to fix the pointer error.

I also tried to create a clean UE5.5 Lyra project, unfortunately the code is exactly the same which means it is not compilable.

1 Like

I’m having the same problem here. I migrated from 5.4 to 5.5 and the movement stopped working. Only things like aiming, shooting, grenades and opening inventory are working.

Even though I haven’t changed these classes in my project, it seems that copying the files and overwriting them in my project is not enough.

1 Like

@yuri_v_a I have the same problem now. My problem before was that the Epic Launcher cached my lyra sample download which still was UE 5.2.

After deleting the cached files I could select the Engine Version to create a new project. I now copied all the neccessary files to my project and deleted some unused ones which used deprecated functions.

Now the project runs so far but as you mentioned, the basic lyra inputs are working (for me movement also works) by my custom inputs not.

I will give an update here once I fixed these issues.

@yuri_v_a Did you change something in the default input mapping file IMC_ShooterGame?

I did, and by overwriting the updated Lyra files that file got overwritten aswell. So my custom binding were gone.

I have now created my own IMC file for the plugin I had created for my game to prevent this in the future. I then added the mapping to the LyraExperienceActionSet and now my inputs are working again.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.