Adding a ZoneShapeComponent to an Actor BP does not behave as expected. You cannot use the shape as a polygon with per point lane profiles like what is needed for an intersection. When attempting to set the Lane Profile for the individual point, you can select a profile from the Lane Profile dropdown, but it is immediately reset to Invalid Profile None. If you derive the BP from ZoneShape, the ZoneShapeComponent works as expected.

Steps to Reproduce
  1. Enable ZoneGraph plugin
  2. Add a new Lane Profile via Project Settings->ZoneGraph
  3. Create a new Actor BP
  4. Add ZoneShapeComponent to BP
  5. Compile BP
  6. Add the BP to the level
  7. Select the ZoneShapeComponent from the Details panel
  8. Set the Shape Type to Polygon
  9. Select one of the end points
  10. Set the Type to Lane Profile
  11. Select a Lane Profile from the Lane Profile dropdown

Expected Result: The point's Lane Profile is set to the selected profile and the arrows for the lane(s) show in the level viewport.

Actual Result: The point's Lane Profile says Invalid Profile None

Have Comments or More Details?

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

Login to Vote

ComponentUE - AI
Affects Versions5.2.1
Target Fix5.4
Fix Commit27955357
Main Commit27955369
CreatedAug 21, 2023
ResolvedSep 18, 2023
UpdatedSep 19, 2023