brifsttar / OpenDRIVE

Unreal Engine OpenDRIVE plugin
Mozilla Public License 2.0
149 stars 30 forks source link

Add the OpenDRIVE file to my level, not find opendriver option #4

Open hee0624 opened 2 years ago

hee0624 commented 2 years ago

hi~,When I add the OpenDRIVE file to your level, not find opendriver option。 711639536791_ pic_hd

brifsttar commented 2 years ago

I've answered the email you sent me about this, did that solve your issue?

timi-liuliang commented 2 years ago

I have the same problem, can you answer this problem here?

brifsttar commented 2 years ago

Hi,

Yes, here's the answer I sent via email to the OP:

Hi,

Did you set the default Level Script Actor, as show in the readme (https://github.com/brifsttar/OpenDRIVE#how-to-use).

Once that is set, the option will appear, but only for new levels ; levels created before won't have it.

Hope that solves your issue, if not we'll dig deeper :-)

hasanzfdn commented 3 weeks ago

Hi,

Yes, here's the answer I sent via email to the OP:

Hi, Did you set the default Level Script Actor, as show in the readme (https://github.com/brifsttar/OpenDRIVE#how-to-use). Once that is set, the option will appear, but only for new levels ; levels created before won't have it.

Hope that solves your issue, if not we'll dig deeper :-)

Hi, image

I added this line to my defaultengine.ini file and I dont have any options like yours "OpenDriveScriptActor". I think I should add somethink like this but I dont know "LevelScriptActorClassName=/Script/OpenDRIVE.OpenDriveScriptActor"

image

brifsttar commented 3 weeks ago

Can you check in the Plugins tab inside Unreal if you can find the OpenDRIVE plugin? If so, is it enabled? If not, did you add the plugin into your project's Plugins/ folder, or into the engine?

I've never tried, but I don't think the plugin will work as an engine plugin, as no binaries are distributed (unless you plan on rebuilding the engine). I've only tested it inside a C++ project, where we can easily build it.

If that's indeed the issue, I'll update the README to make that clearer.