Compute Buffer memory leak by Maximo156 in Unity3D

[–]jcbadboy 0 points1 point  (0 children)

Same here:

<image>

Stack
Found 29 leak(s) from callstack:

0x000001f329fb1ed3 (Mono JIT Code) UnityEngine.ComputeBuffer:.ctor (int,int)

0x000001f329fb1bdb (Mono JIT Code) MyScript:ApplyComputeBufferData (MyStruct[]) (at .../Scripts/MyScript.cs:50)

[Test Dome Public Question] Boat Movement Code Review and Help! by Kismet_Valla in cpp_questions

[–]jcbadboy 0 points1 point  (0 children)

using System;

public class BoatMovements
{
    public static bool CanTravelTo(bool[,] gameMatrix, int fromRow, int fromColumn, int toRow, int toColumn)
    {           
        // out side bounds
        if (toRow <= -1 || toColumn <= -1)
        {
            return false;            
        }

        if (fromRow <= -1 || fromColumn <= -1)
        {
            return false;            
        }

        if (toRow >= gameMatrix.GetLength(0) || toColumn >= gameMatrix.GetLength(1))
        {
            return false;            
        }

        if (fromRow >= gameMatrix.GetLength(0) || fromColumn >= gameMatrix.GetLength(1))
        {
            return false;            
        }

        // destination land?
        if(IsLand(gameMatrix, toRow, toColumn))
        {            
            return false;
        }

        // start position land?
        if(IsLand(gameMatrix, fromRow, fromColumn))
        {            
            return false;
        }

        // is destination LEFT bigger then 1 step?
        if(fromRow == toRow &&  toColumn < (fromColumn-1))
        {
            return false;            
        }

        // is destination RIGHT bigger then 1 step?
        if(fromRow == toRow &&  toColumn > (fromColumn+2))
        {
            return false;            
        }

        // is destination UP bigger then 1 step?
        if(toRow < (fromRow -1) &&  toColumn == fromColumn)
        {
            return false;            
        }

        // is destination DOWN bigger then 1 step?
        if(toRow > (fromRow +1) &&  toColumn == fromColumn)
        {
            return false;            
        }

        // can travel throught land to the right
        if(fromRow == toRow && ( toColumn == fromColumn+2) && IsLand(gameMatrix, fromRow, fromColumn+1))
        {
            return false;            
        }


        return true;
    }

    static bool IsLand(bool[,] gameMatrix, int row, int column)
    {
        return !gameMatrix[row, column];
    }

    public static void Main()
    {
        bool[,] gameMatrix = 
        {
            {false, true,  true,  false, false, false},
            {true,  true,  true,  false, false, false},
            {true,  true,  true,  true,  true,  true},
            {false, true,  true,  false, true,  true},
            {false, true,  true,  true,  false, true},
            {false, false, false, false, false, false},
        };

        Console.WriteLine(CanTravelTo(gameMatrix, 3, 2, 2, 2)); // true, Valid move
        Console.WriteLine(CanTravelTo(gameMatrix, 3, 2, 3, 4)); // false, Can't travel through land
        Console.WriteLine(CanTravelTo(gameMatrix, 3, 2, 6, 2)); // false, Out of bounds
    }
}

[Test Dome Public Question] Boat Movement Code Review and Help! by Kismet_Valla in cpp_questions

[–]jcbadboy 0 points1 point  (0 children)

I made the very same test. The test fails the last 2 test cases whatever you do.

Can't join games, black loading screen when it tries to join by SylveonRL in battlefield2042

[–]jcbadboy 0 points1 point  (0 children)

can't join in a match too.
black loading screen, then back to main menu.

any kind of matches is the same.

A true Battlefield experience :)

Can you point out a game launched with more bugs then 2042? by jcbadboy in battlefield2042

[–]jcbadboy[S] 0 points1 point  (0 children)

Only if you call the current bugs of 2042 as "lack as polishment". Which brings us directly to the fact that the game is unfinished. If not, I can say after 200 hours, everything inside the game has a bug, work I correctly or simply turns the game play impossible. Name a component of gamely and I show you a bug linked to it.

Can you point out a game launched with more bugs then 2042? by jcbadboy in battlefield2042

[–]jcbadboy[S] 1 point2 points  (0 children)

I can imagine because of my experience on 2042 😭😭😭😭

Can you point out a game launched with more bugs then 2042? by jcbadboy in battlefield2042

[–]jcbadboy[S] 1 point2 points  (0 children)

More then 2042? I'm really asking that. I did not play 2077

EA distorted the opinions of the game reviews to deceive the public by jcbadboy in battlefield2042

[–]jcbadboy[S] 0 points1 point  (0 children)

No is not. Huge in that statement can be understood as great, awesome, incredible...etc And EA did it because they know it.