Help me standalone? And how to EASY PZ take a GameObject Game and make it Entity

I’ve compiled standalone DOTS/ECS before, but something changed recently I think with .50 that will not let me make a standalone build, or it has something to do with assets I need to bring over manually… I’m guessing ojne of those two. Enjoy a cool video:

Bonus I share: where I share some wisdom of how to make your popular GameObject game have levels with DOTS ecs no sweat. Short: One player controller for GameObject, you hijack it for entities, make gameobject invisible, grab entity position/rotation/velocity at the start and then do your gameobject player controller junk on the invisible gameobject and at the end, feed the rotation/velocity to the active entity… DOn’t feed position or it messes up the physics system.

bump?

I spent a year and over 500 hours on ECS/DOTS. I have a final game.

Can someone help me make a standalone?

,Jim

U need to post some details about this crash. Without it it is hard to tell what went wrong.

I posted a video about it. I try and run, it crashes. That’s all I know.

Another forum said to check these files: https://docs.unity3d.com/Manual/LogFiles.html

I think they’re on to something. Which one has relevant data and what should I be looking for? Probably crash logs. I probably have to run in debug mode too then.

From Player.Log:

Initializing input.

Input initialized.

Initialized touch support.

The file ‘C:/UnityProjectfiles/StarfighterGeneralOnSteam/Builds/WindowsClassicBuildConfiguration 3/Starfighter General_Data/level0’ is corrupted! Remove it and launch unity again!
[Position out of bounds!]

Are you building using a scriptable build config asset? I am guessing you are just going to file and build? Probably need to do it with the asset file.

Also check the AssetImportWorker logs. The process that writes those logs can fail, and I have seen that lead to the errors you are seeing.

I cannot find this on the disk. Does it export to disk?

Wait, I have many addressables. Wasn’t there something weird with em where I need to manually copy folders to standalone?

I don’t even have a level0 anywhere in my project which is weird.
I backed up my project.
I deleted library.
I closed unity.
I opened Unity.
2 hours later it was rebuilt, and level 0 there. I don’t get that.

I deleted level0 from my standalone D:\starfighter\starfighter_Data folder.

I got a new error, game does not immediately crash, but does not play.

It loads up with a debugger console which directs me to this: Mono path[0] = 'D:/starfighter/starfighter_Data/Managed'Mono config path = 'D: - Pastebin.com

Key error message:

AssertionException: Ensure TypeManager.Initialize has been called before using the TypeManager
Assertion failure. Value was False
Expected: True

Would this mean I’m using DOTS entities before its loaded or something? This could be an error expected for faster run times locally standalone vs editor.

I think I just responded to your Reddit post too but just in case it helps someone else. I had this issue (same error stack) and adding the DISABLE_ENTITIES_JOURNALING scripting define for a debug build worked for me.

The Editor menu options for journaling do not affect exported builds.

1 Like