Assertion error in map editor

Having trouble with the game? Report issues and get help here. Read this first!

Moderator: Forum Moderators

Forum rules
Before reporting issues in this section, you must read the following topic:
Post Reply
Allenwolf360
Posts: 2
Joined: June 24th, 2022, 10:57 pm

Assertion error in map editor

Post by Allenwolf360 »

This is my first time ever participating in a forum, but anyway. I am having a strange error I hadn't had in previous versions of the game. With no add ons currently installed. I attempt to place a unit in the scenario editor, regardless of unit type, it gives me an Assertion Error and then crashes.

The error I received is:

Assertion failed!

Program: ...
File: /wesnoth/src/units/abilities.cpp
Line:159

Expression resources::gameboard

(I have reinstalled the game, verified file integrity, reinstalled MC Visual and deleted config files in documents. I am not sure what is causing this.

System Information:

Microsoft Windows 10 Version 21H2 (OS Build 19044.2486)
Wesnoth version 1.16.7

Steps to replicate problem:

1.Launch game
2. Enter Map Editor
2. New Scenario
3. Place Unit

Game Log:

Battle for Wesnoth v1.16.7 x86_64
Started on Fri Jan 20 17:10:20 2023

Automatically found a possible data directory at C:\Program Files (x86)\Steam\steamapps\common\wesnoth

Data directory: C:\Program Files (x86)\Steam\steamapps\common\wesnoth
User configuration directory: C:\Users\USER\OneDrive\Documents\My Games\Wesnoth1.16
User data directory: C:\Users\USER\OneDrive\Documents\My Games\Wesnoth1.16
Cache directory: C:\Users\USER\OneDrive\Documents\My Games\Wesnoth1.16\cache

Setting mode to 1600x900
Checking lua scripts... ok
Last edited by Allenwolf360 on January 20th, 2023, 11:34 pm, edited 2 times in total.
User avatar
Pentarctagon
Project Manager
Posts: 5219
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: Assertion error in map editor

Post by Pentarctagon »

Can you provide the relevant information listed in viewtopic.php?t=25660 ?
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
Allenwolf360
Posts: 2
Joined: June 24th, 2022, 10:57 pm

Re: Assertion error in map editor

Post by Allenwolf360 »

I have edited the information to provide more
User avatar
Pentarctagon
Project Manager
Posts: 5219
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: Assertion error in map editor

Post by Pentarctagon »

Alright, thanks for reporting - I've opened #7296 for this.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
Post Reply