Welcome to Keen Software House Forums! Log in or Sign up to interact with the KSH community.
  1. Hello Guest!
    Welcome to the Bug Report forum, please make sure you search for your problem before posting here. If you post a duplicate (that you post the same issue while other people have already done that before) you will be given a warning point which can eventually lead into account limitations !

    Here you can find a guide on how to post a good bug report thread.
    Space Engineers version --- Medieval Engineers version
  2. You are currently browsing our forum as a guest. Create your own forum account to access all forum functionality.

[1.186.x] Game crash on PB execution trying to set IMyTextPanel Font wrong value

Discussion in 'Bug Reports' started by cheerkin, Feb 21, 2018.

Thread Status:
This last post in this thread was made more than 31 days old.
  1. cheerkin Trainee Engineer

    Messages:
    62


    Reproduction Rate: 10 out of 10

    Affected Version: 1.186.202

    Reproduction steps:

    Code causing a crash

    Code:
    				Action<List<IMyTextPanel>> styleConfigurator2 =
    										list =>
    										{
    											for (int i = 0; i < list.Count; i++)
    											{
    												list[i].ShowPublicTextOnScreen();
    												list[i].FontColor = new Color(r: 255, g: 255, b: 255);
    												list[i].FontSize = 1f;
    												list[i].Font = "DEBUG"; // CTD
    											}
    										};


    Observed behavior:
    CTD

    Expected behavior:

    PB raises exception
     
Thread Status:
This last post in this thread was made more than 31 days old.