Skip to main content

Questions tagged [memory]

1 vote
0 answers
51 views

I'm trying to learn how to use Addressables in Unity to improve memory usage, but there's something I don't understand. I use ...
Ahmed Dyaa's user avatar
0 votes
0 answers
118 views

I'm creating a simple bullet hell game for Android and I ran into an issue when diagnosing my game using the Memory Profiler where memory usage was increasing after each play-through. I had calls to ...
hoffer's user avatar
  • 1
0 votes
1 answer
175 views

Following my post Saving shaders to file I then tried to load shader object files to recreate my shaders. I found some Q&A about how to load precompiled HLSL shaders into memory, including a short ...
philB's user avatar
  • 333
0 votes
0 answers
156 views

I have an app in Unity WebGL that should run for a long time (a few days) without stopping. One issue I notice is that, the longer the app runs the browser memory usage gets bigger. Is this related to ...
Ivan's user avatar
  • 379
0 votes
1 answer
161 views

I'm trying to make a pickup and drop script by myself and every time the game calls the pickup function, it seemed to cause memory leaks and freezes the game for few seconds. After those few seconds, ...
Leo's user avatar
  • 3
1 vote
0 answers
140 views

I'm trying to optimize my first game project. It reaches between 55-60 FPS while playing, but there is a problem. As in the screenshot, the Garbage Collector section sometimes causes increases. This ...
Volkan AKDAG's user avatar
1 vote
1 answer
266 views

I am trying to understand the flyweight pattern better by trying to optimize memory usage by spawning 10000 copies of an enemy GameObject that I have which has an Animator component, SpriteRenderer ...
mtg's user avatar
  • 23
0 votes
2 answers
545 views

Godot 4.2.1 I have implemented a simple scene-save system: The Savegame Autoload listens for the S key press. When S is pressed, the ...
Noideas's user avatar
  • 19
1 vote
1 answer
446 views

I currently have a Renderer class, which as in the example code, looks like this: ...
BOOM's user avatar
  • 11
1 vote
0 answers
2k views

I am working on doing a memory optimization pass on a fully developed game on Unity2021.3.16f1. I am trying to figure out what's the pain point and for that, I need help. Before sharing the profiler I'...
Syed Munim Raza's user avatar
2 votes
1 answer
1k views

For cheating or maybe just making some trainers, it's possible for hackers to read and update variables directly in the game's memory. Is this something that can simply be prevented, or is the answer ...
virtouso's user avatar
  • 2,680
3 votes
1 answer
4k views

I have a script which is loading a photo from path into a texture (photoThumbT2D), then rotating it: ...
mike's user avatar
  • 501
0 votes
0 answers
675 views

I simply reset and close the command list but my memory usage goes up 5 gb per second. This is the simple list of things I do Reset command buffer Close command buffer Reset command allocator I feel ...
Barış Üçkardeş's user avatar
0 votes
0 answers
258 views

So as stated I have a sprite that when compressed takes 2 MB. But when I look into the memory in the profiler, it says that the sprite uses 10 MB! This happens both when I profile in the unity editor ...
bobthesnob's user avatar
4 votes
1 answer
1k views

I recently read this answer on this site, which says the following: making sure no allocation/deallocation is being done while the game is running is a golden rule of thumb. I interpret this as ...
JensB's user avatar
  • 157

15 30 50 per page
1
2 3 4 5
��
8