What should I do if I encounter a memory leak problem during the development of a Unity game engine?

Updated on Game 2024-04-20
9 answers
  1. Anonymous users2024-02-08

    Only barely reached the entry level of 2A games.

    For poor controller support, Unity is suitable for small team production, or even independent production, the main trend is mobile games, at present, Unity is still the engine with the highest market share in the mobile game, the functional engine of VR controller spatial positioning is not integrated, the lighting system is bad, the shadow Bake has bugs, more than ninety percent of Gear VR games are developed with Unity engine, and there is no need to write about planning from now on**.

    Powerful texturer.

    All kinds of official plug-ins are complete.

    Good support for controllers and VR controllers.

    A variety of game templates are available for prototyping and blueprint, even faster than Unity.

    Disadvantages of Unreal:

    C++ If you want to develop PS4 games, you need to recompile the engine, 12-core server:

    The built-in tools are not perfect.

    Poor rendering, perfect documentation.

    Low development costs.

    UI system. It is easy to debug on PS4, and there are batch files that can be run with one click.

    asset store

    Some demos under VR are provided for reference.

    Unity's disadvantages. The UE4 is more suitable for large teams and large productions, and mainly tends to be on the PC platform. Here's a comparison of the pros and cons of the two:

    Unity's advantage, requires a third-party plugin or extra**.

    There is no shader:

    LightweightOverall, it takes at least an hour to pull ** alone.

    It takes more than 10 minutes to compile to create a new project.

    If you switch platforms, you have to compile thousands to tens of thousands of shaders

    PS4 is inconvenient to deploy, and packaging and compilation are also very long.

    The cost of learning is high and requires third-party plugins.

    Prefab does not support inheritance.

    There is no built-in Level Stream support.

    Unreal Advantages:

    The graphics are fully up to the level of a triple-A game.

    Lighting and physical rendering are enough to kill Unity, even at scale-down

    The Blueprint system, the documentation of the existing features is also not perfect, and it is not as good as Unity

    The development cost is high, and a domestic 3A team made a 10-minute VR demo, and it takes about 20-30 minutes to compile with 24 threads.

    If you need to recompile the engine, these two game development engine tools basically support VR game production. Both have their own advantages, some such as handle vibration, easy to install, debug and pack.

    Configuring a VR project is easy.

    The learning cost is low, and the core engines of VR game development are U3D and UE4, each submodule is powerful but complex to operate.

    Some features don't have any documentation.

  2. Anonymous users2024-02-07

    Static things that are directly or indirectly referenced are not destroyed, and a lot of useful things like that are pitiful. Go to Zhihu to take a look, I have the impression that I have read a lot of good articles.

  3. Anonymous users2024-02-06

    ;Active**.

    Periodifiable calls.

    start.

    void start()

    void gccollect()

    update call.

    void update()

  4. Anonymous users2024-02-05

    This should be unannounced news.,No matter what engine is used.,I have to say that Honor of Kings is doing very well.,I've been playing King for more than a year.,I've seen the success of this game from obscurity to now.,Whether it's picture quality、Action、Sound effects or humanized system、Fluency,It's the best I think.,Maybe some people feel that there are still shortcomings.,But what players see is the unremitting efforts and improvements of the production team.,I think this is the most valuable.,Every update has a reward.,Every feedback can be responded to and solved. , who can do it so intimately, it is really the details that determine success or failure.

  5. Anonymous users2024-02-04

    Memory leaks have to be checked**, and you can destroy unused variables.

  6. Anonymous users2024-02-03

    Static things that are directly or indirectly referenced are not destroyed, and a lot of useful things like that are pitiful.

    Go to Zhihu to take a look, I have the impression that I have read a lot of good articles.

  7. Anonymous users2024-02-02

    Don't write anything like that in upate, and make good use of object pools.

  8. Anonymous users2024-02-01

    If you want to learn systematically, you can consider signing up for a live online class, and recommend CGWANG's online class. The teacher speaks carefully, you can watch it back after the class, and there are also the same type of recorded classes that you can learn for free (give away lifelong VIP).

  9. Anonymous users2024-01-31

    It depends on what your school's curriculum is like. I don't know.

Related questions
13 answers2024-04-20

Genshin Impact was developed using the Unity engine. Genshin Impact is created by Shanghai miHoYo. >>>More

18 answers2024-04-20

If you want to learn systematically, you can consider signing up for a live online class, and recommend CGWANG's online class. The teacher speaks carefully, you can watch it back after the class, and there are also the same type of recorded classes that you can learn for free (give away lifelong VIP). >>>More

5 answers2024-04-20

It won't be high at first.

Generally around 4000, this is for recent graduates who have not gone to the company for internships. >>>More

9 answers2024-04-20

Hello! Glad to answer for you, please be prompt, thank you! >>>More

12 answers2024-04-20

This depends on how big your project is, in other words, how many people are needed to do it to ensure completion, if you only count the development, the program and art are hard costs (provided that you know how to plan and make them deliver the things they are satisfied with on time), and in these hard costs, you also need to calculate how many things each of them has to do, and how long it will take to complete these things. So it's impossible to simply ask how much it costs to develop a game. The size of the project is different and cannot be constant.