Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not find the Opendrive Editor BP #11

Open
rdbch opened this issue Dec 22, 2022 · 11 comments
Open

Can not find the Opendrive Editor BP #11

rdbch opened this issue Dec 22, 2022 · 11 comments

Comments

@rdbch
Copy link

rdbch commented Dec 22, 2022

Hello,

I am trying to use the editor for an OpenDrive file, however I can not seem to find any BPs. Could you please help me with that?

I have done the following:

  • selected the Level Script Actor Class to OpenDriveScriptActor
  • selected the .xodr file in World Settings
@brifsttar
Copy link
Owner

Hi,

The blueprints are in the plugin content folder. Depending on what you actually want to do, you might find what you're looking for over there.

image

@y-shionome
Copy link

I apologize for the difficulty in reading the DeepL translation.

I followed the same procedure, but the item does not appear.
BP_OpenDriveReader
BP_Spline_OpenDrive
BP_StaticMesh_OpenDrive

TargetPoint and EUBP come up.

Do you know why this is?

@brifsttar
Copy link
Owner

@y-shionome Hmm that's weird, I've never seen anything like this. Could you maybe share a screenshot?

Also, which version of the engine are you using? And which branch of the plugin?

@y-shionome
Copy link

If it's a glitch I've never seen before, that means my environment is bad....
Maybe I should re-install it from Unreal Engine.

windows : 10
Unreal Engine : 4.26
branch: master

スクリーンショット 2023-04-06 104516

@brifsttar
Copy link
Owner

@y-shionome
Ah I see: Blueprints (and more generally assets) aren't forward compatible, and those must have been edited in UE4.27. So UE4.26 can't open/see them. The only solution I see is to move your project to UE4.27, but unfortunately that might not be doable for you.

But now that I'm aware of this issue, I'll probably try to move those assets to C++ to avoid this issue.

@y-shionome
Copy link

@brifsttar
Oh... I see!
It is difficult to change to Ver. 4.27 because I wanted to use it with CARLA.
But I'm glad you uncovered the problem.

Thanks to you.
I will wait with anticipation.

@brifsttar
Copy link
Owner

@y-shionome
I've added the conversion of those BP to C++ on my todo-list, it'll probably be done in the coming days. I'll tag you once it's available.

@brifsttar
Copy link
Owner

@y-shionome
Good news, bad news.

Good news is I migrated what I could to C++, it's available on master (see 8e5eded)

Bad news is... Not much could be migrated.
BP_OpenDriveReader: Now available in C++ as OpenDriveReader
BP_Spline_OpenDrive: Was actually already in C++ as OpenDriveTrajectory
BP_StaticMesh_OpenDrive: Is actually useless and will probably be removed at some point, so not migrated
EUBP_Actor: I could migrate it to C++, but there's a bug in 4.x where native C++ Action Utility aren't loaded by the engine, which mean I'd always need a BP asset to make it work. I could fix this in 5.x (I probably will at some point), but that wouldn't be of much help to you.

@y-shionome
Copy link

@brifsttar
Thanks for responding!
There is no better news than you responding.
Especially being able to use OpenDriveTrajectory is the best of the best!

@aidenyao
Copy link

@y-shionome Good news, bad news.

Good news is I migrated what I could to C++, it's available on master (see 8e5eded)

Bad news is... Not much could be migrated. BP_OpenDriveReader: Now available in C++ as OpenDriveReader BP_Spline_OpenDrive: Was actually already in C++ as OpenDriveTrajectory BP_StaticMesh_OpenDrive: Is actually useless and will probably be removed at some point, so not migrated EUBP_Actor: I could migrate it to C++, but there's a bug in 4.x where native C++ Action Utility aren't loaded by the engine, which mean I'd always need a BP asset to make it work. I could fix this in 5.x (I probably will at some point), but that wouldn't be of much help to you.

How to use EUBP_OpenDrive2Landscape?

@brifsttar
Copy link
Owner

Hey @aidenyao

If you imported you OpenDRIVE asset and configured it in the World Settings, you can simply right-click your landscape, select Scripted Actions and then Sculpt Landscape.

You can watch a (highly compressed) video of the process here: https://github.com/brifsttar/OpenDRIVE#landscape-sculpting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants