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

Scenario editor can crash if units are placed on same hex #4789

Open
UnwiseOwl opened this issue Mar 6, 2020 · 3 comments
Open

Scenario editor can crash if units are placed on same hex #4789

UnwiseOwl opened this issue Mar 6, 2020 · 3 comments
Labels

Comments

@UnwiseOwl
Copy link
Contributor

@UnwiseOwl UnwiseOwl commented Mar 6, 2020

Game and System Information

  • 1.15.2 and 1.14.9
  • Steam
  • Windows 10

Describe the bug

Scenario editor crashes on opening a new scenario after trying to place units from different sides on the same hex.

To Reproduce

Steps to reproduce the behavior:

  1. In the map editor, open a new or existing scenario.
  2. Place a unit on side 1.
  3. Attempt to place a unit on side 2 on the same hex.
  4. Open a new scenario.
  5. Crash!

Expected behavior

Open new scenario, keep old scenario open.

Additional context

Log contents:
Setting mode to 1536x864
Checking lua scripts... ok
20200306 22:50:35 warning engine: Invalid anchor!
20200306 22:50:35 warning engine: Invalid anchor!

@UnwiseOwl

This comment has been minimized.

Copy link
Contributor Author

@UnwiseOwl UnwiseOwl commented Mar 6, 2020

Actually: expected behaviour would be that any new unit placed would replace the old one like new terrains do in the map editor, nicely skipping this issue.

@Pentarctagon

This comment has been minimized.

Copy link
Member

@Pentarctagon Pentarctagon commented Mar 8, 2020

Does this still happen with 1.14.11?

@UnwiseOwl

This comment has been minimized.

Copy link
Contributor Author

@UnwiseOwl UnwiseOwl commented Mar 8, 2020

Yes.

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

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.