skyrim-multiplayer / skymp

Multiplayer Mod & TypeScript SDK for Skyrim Special Edition
Other
217 stars 75 forks source link

Unit tests error #78

Closed Blazzes closed 3 years ago

Blazzes commented 3 years ago

image When running unit tests, it throws an exception. The "LeveledListUtilsTest.h" test is supposedly to blame.

Pospelove commented 3 years ago

Could you please attach stacktrace?

Blazzes commented 3 years ago

Could you tell me where to see attach stacktrace?

Pospelove commented 3 years ago

Could you tell me where to see attach stacktrace?

In Visual Studio: Debugger -> Attach to Process -> unit.exe

Then select Retry in error window

Blazzes commented 3 years ago

image

Pospelove commented 3 years ago

Do you have Skyrim Special Edition installed? What is your SKYRIM_DIR?

Blazzes commented 3 years ago

image

Pospelove commented 3 years ago

@Blazzes

Throws here: https://github.com/skyrim-multiplayer/skymp/blob/6f105644eb557a7f9f80199682d7ef2463e6b81e/skymp5-server/cpp/lib_espm/Loader.h#L108

Could you debug this and say what's the value of the dataDir variable is here? After that, go checking that this path exists.

Blazzes commented 3 years ago

I don't know what happened, but it worked.

Pospelove commented 3 years ago

Feel free to reopen/open a new issue if the error is still here. Closing for now