Html5 project .ini issue

Hello Epic and community,

so i’m working on a project, which uses custom variables inside Game.ini (D:\Unreal Projects\MThtml\Saved\Config\Windows) and runs fine on windows,
but when i package the project for html5, it crashes as soon as it tries to access those variables which aren’t accessible for the packaged project, since the modified .ini file resides in the \windows folder i suggest.

Error message on LaunchHelper:
appError called:
Assertion failed: Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:Runtime/Core/Public/Containers\Array.h] [Line: 678]
Array index out of bounds: 1 from an array of size 0
L
[2016.02.18-09.41.42:208][646]LogHAL:Error: appError called: Assertion failed: Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:Runtime/Core/Public/Containers\Array.h] [Line: 678]
Array index out of bounds: 1 from an array of size 0

Customized Game.ini:

[/Script/MThtml.MTGameMode]
StageSettings[0]=(MolHills=0, RedMoles=0, GrnMoles=0, BluMoles=0, YlwMoles=0, ToNxtStg=0)
StageSettings[1]=(MolHills=3, RedMoles=0, GrnMoles=0, BluMoles=1, YlwMoles=0, ToNxtStg=3850)
StageSettings[2]=(MolHills=3, RedMoles=0, GrnMoles=0, BluMoles=2, YlwMoles=0, ToNxtStg=7700)

In UMG a button calls StartStage(1):

void AMTGameMode::StartStage(int32 Stage) {
	CurStage = Stage;
	SpeedupIdx = 0;
	Score = 0;
	Goal = StageSettings[CurStage].ToNxtStg;

	bDelayedStart = false;
}

If my suggestion is right, how do i get the config file in place and where ?

THX

Bump…

Hello uberman,

I have a few questions for you that will help narrow down what issue it is that you are experiencing.

Quick questions:

  1. Can you reproduce this issue in clean project?
  2. If so, could you provide a detailed list of steps to reproduce this issue on our end?
  3. Could you provide any code and/or blueprints involved in this issue?
  4. Could you provide the .ini file that you are using?

Hello uberman,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you.