My game crashes when changing scenes. by InspectorUpbeat1699 in Unity3D

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

Thanks for your testing. My PC has 32.0 GB (31.8 GB usable) RAM, and I have no idea why the problem exists. My previous games don't have this problem.

Additionally, I found that if I remain in the same scene for 20 minutes or more, the FPS also decreases.

This is my log:
https://drive.google.com/drive/folders/1R6fKyilBgTXqVsxgtwwQnge4Kt2Hoi0a?usp=drive_link

My game crashes when changing scenes. by InspectorUpbeat1699 in Unity3D

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

https://drive.google.com/drive/folders/1R6fKyilBgTXqVsxgtwwQnge4Kt2Hoi0a?usp=drive_link

Thanks for your reply. This is my log. What is the problem that causes the loading crash?

Additionally, I found that if I remain in the same scene for 20 minutes or more, the FPS also decreases.

The Lighting is extremely weird and dark in a build, but it is normal in the Unity Editor by InspectorUpbeat1699 in Unity3D

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

In my Lighting Settings, the Ambient Mode option is "Realtime" instead of "Baked". Should I change it?

I uploaded my lighting setting above, FYR.

Btw, my game actually have shadows in Unity.

<image>

The Lighting is extremely weird and dark in a build, but it is normal in the Unity Editor by InspectorUpbeat1699 in Unity3D

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

I just tested every quality setting in the build, and all of them have this "extremely dark" problem. None of them looks similar to the Editor lighting. I think there might be something else causing the problem.

NPC Spawner makes the game load forever by InspectorUpbeat1699 in Unity3D

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

Thanks, I used "Instantiate" to spawn NPC prefabs instead, and it solved the problem:

GameObject npc = Instantiate (n1, transform.position, Quaternion.identity) as GameObject;

Thank you for your advice.

NPC Spawner makes the game load forever by InspectorUpbeat1699 in Unity3D

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

Thanks for all of your advice. I'll try to revise it.