Selection Bug (I am stuck) [Solved]

Hello guys I am getting this selection bug :
ezgif.com-gif-maker

In the last 7 days I have tried doing :

  • I have tried checking my code by @sampattuzzi
  • I have tried loging to check the flaw but there were non
  • And a lot of Debugging through the blueprint and code

Here is my code/repo : https://github.com/zkc08/SteamMultiplayer
Thanks in advance.

Finally after a little bit more debugging(1 hr of Debugging) with my father I found my mistake.
Earlier :


    for (const FString& ServerName : ServerNames)
    {
	    UServerRow* Row = CreateWidget<UServerRow>(World, ServerRowClass);
		if (!ensure(Row != nullptr)) return;
        uint32 i = 0; // All mistake was in this line
        Row->ServerName->SetText(FText::FromString(ServerName));
        Row->Setup(this, i);
        ++i;

		ServerList->AddChild(Row);    
    }

correct one :

uint32 i = 0;
    for (const FString& ServerName : ServerNames)
    {
	    UServerRow* Row = CreateWidget<UServerRow>(World, ServerRowClass);
		if (!ensure(Row != nullptr)) return;

        Row->ServerName->SetText(FText::FromString(ServerName));
        Row->Setup(this, i);
        ++i;

		ServerList->AddChild(Row);    
    }

Now I am again changing my repo to be private

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms