GithubHelp home page GithubHelp logo

Comments (6)

connorjak avatar connorjak commented on May 27, 2024 2

Possibly related message on the RMC discord: https://discord.com/channels/455826886938066986/455872643174891532/1108512794971738192

Why there is an error when I create huge mesh with 1M trianges
Runs and when I exit PIE I get crashreport with this
Assertion failed: TrackedAllocationData.Remove(InAllocation) == 1 [File:D:\build++UE5\Sync\Engine\Source\Runtime\D3D12RHI\Private\D3D12Adapter.cpp] [Line: 1562]
??
image

from realtimemeshcomponent.

connorjak avatar connorjak commented on May 27, 2024

Possibly related:

from realtimemeshcomponent.

ternsip avatar ternsip commented on May 27, 2024
	URealtimeMesh* RealtimeMesh = RealtimeMeshComponent->InitializeRealtimeMesh(URealtimeMeshSimple::StaticClass());
	RealtimeMesh->SetupMaterialSlot(0, TEXT("TriMat"), Material);
	URealtimeMeshSimple* RealtimeMeshSimple = (URealtimeMeshSimple*)RealtimeMesh;
	FRealtimeMeshSimpleMeshData MeshData = FRealtimeMeshSimpleMeshData();
	
	LOOP
	
	
	FRealtimeMeshSectionKey StaticSectionKey = RealtimeMeshSimple->CreateMeshSection(
		0,
		FRealtimeMeshSectionConfig(ERealtimeMeshSectionDrawType::Dynamic, 0),
		MeshData,
		false
	);

I just do it in the loop and add 1M triangles via AddBlockTop and when I close PIE I have got a crash without any error logs

If I use smaller number of triangles ~ 200-500k then it doesnt crash

from realtimemeshcomponent.

connorjak avatar connorjak commented on May 27, 2024

@Koderz Does 993aeb0 directly relate to this issue?

from realtimemeshcomponent.

Koderz avatar Koderz commented on May 27, 2024

@connorjak Potentially yes, I more just did a RHI validation on it and fixed what came up so while I'm not 100% sure I believe it would be related.

from realtimemeshcomponent.

Koderz avatar Koderz commented on May 27, 2024

I believe this should be fixed in the latest version! If not feel free to reopen this issue or create a new one!

Thanks,
Koderz

from realtimemeshcomponent.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.