Hi everyone, I was trying to package my build for my current milestone. The build packaged successfully but it only displays a small bleep open application launch. The image of small bleep is attached below.
I’m using Unity 2021.2.12f1 to package and the log constantly shows this error:
Thread group size must be above zero
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.Rendering.ScriptableRenderContext:Submit_Internal ()
UnityEngine.Rendering.ScriptableRenderContext:Submit ()
UnityEngine.Rendering.HighDefinition.HDRenderPipeline:Render (UnityEngine.Rendering.ScriptableRenderContext,System.Collections.Generic.List`1<UnityEngine.Camera>) (at C:/Users/User/Documents/GitHub/sunset-satellite/SunsetSatellite/Library/PackageCache/com.unity.render-pipelines.high-definition@12.1.4/Runtime/RenderPipeline/HDRenderPipeline.cs:1906)
UnityEngine.Rendering.RenderPipeline:InternalRender (UnityEngine.Rendering.ScriptableRenderContext,System.Collections.Generic.List`1<UnityEngine.Camera>)
UnityEngine.Rendering.RenderPipelineManager:smile:oRenderLoop_Internal (UnityEngine.Rendering.RenderPipelineAsset,intptr,System.Collections.Generic.List`1<UnityEngine.Camera/RenderRequest>)
[C:\buildslave\unity\build\Runtime\Shaders\ComputeShader.cpp line 1392]
and a suspected memory leak message as follows
PlayerConnection::CleanupMemory Statistics:
[ALLOC_TEMP_TLS] TLS Allocator
StackAllocators :
[ALLOC_TEMP_MAIN]
Peak usage frame count: [16.0 KB-32.0 KB]: 1755 frames, [256.0 KB-0.5 MB]: 1 frames, [4.0 MB-8.0 MB]: 1 frames
Initial Block Size 4.0 MB
Current Block Size 4.4 MB
Peak Allocated Bytes 4.4 MB
Overflow Count 0
[ALLOC_TEMP_Background Job.Worker 8]
Initial Block Size 32.0 KB
Current Block Size 32.0 KB
Peak Allocated Bytes 54 B
Overflow Count 0
[ALLOC_TEMP_Background Job.Worker 10]
Initial Block Size 32.0 KB
Current Block Size 32.0 KB
Peak Allocated Bytes 54 B
Overflow Count 0
[ALLOC_TEMP_Job.Worker 4]
Initial Block Size 256.0 KB
Current Block Size 256.0 KB
Peak Allocated Bytes 16 B
Overflow Count 0
[ALLOC_TEMP_AUDIO_FMOD (WASAPI) feeder thread]
Initial Block Size 64.0 KB
Current Block Size 64.0 KB
Peak Allocated Bytes 168 B
Overflow Count 0
[ALLOC_TEMP_AUDIO_FMOD mixer thread]
Initial Block Size 64.0 KB
Current Block Size 64.0 KB
Peak Allocated Bytes 54 B
Overflow Count 0
[ALLOC_TEMP_Background Job.Worker 1]
Initial Block Size 32.0 KB
Current Block Size 32.0 KB
Peak Allocated Bytes 54 B
Overflow Count 0
[ALLOC_TEMP_Background Job.Worker 6]
Initial Block Size 32.0 KB
Current Block Size 32.0 KB
Peak Allocated Bytes 54 B
Overflow Count 0
[ALLOC_TEMP_Background Job.Worker 11]
Initial Block Size 32.0 KB
Current Block Size 32.0 KB
Peak Allocated Bytes 54 B
Overflow Count 0
[ALLOC_TEMP_Background Job.Worker 3]
Initial Block Size 32.0 KB
Current Block Size 32.0 KB
Peak Allocated Bytes 54 B
Overflow Count 0
[ALLOC_TEMP_BatchDeleteObjects]
Initial Block Size 64.0 KB
Current Block Size 64.0 KB
Peak Allocated Bytes 54 B
Overflow Count 0
[ALLOC_TEMP_AUDIO_FMOD stream thread]
Initial Block Size 64.0 KB
Current Block Size 64.0 KB
Peak Allocated Bytes 54 B
Overflow Count 0
[ALLOC_TEMP_Job.Worker 13]
Initial Block Size 256.0 KB
Current Block Size 256.0 KB
Peak Allocated Bytes 54 B
Overflow Count 0
[ALLOC_TEMP_Background Job.Worker 15]
Initial Block Size 32.0 KB
Current Block Size 32.0 KB
Peak Allocated Bytes 54 B
Overflow Count 0
[ALLOC_TEMP_Background Job.Worker 2]
Initial Block Size 32.0 KB
Current Block Size 32.0 KB
Peak Allocated Bytes 54 B
Overflow Count 0
[ALLOC_TEMP_Background Job.Worker 7]
Initial Block Size 32.0 KB
Current Block Size 32.0 KB
Peak Allocated Bytes 54 B
Overflow Count 0
[ALLOC_TEMP_Job.Worker 8]
Initial Block Size 256.0 KB
Current Block Size 256.0 KB
Peak Allocated Bytes 16 B
Overflow Count 0
[ALLOC_TEMP_Job.Worker 1]
Initial Block Size 256.0 KB
Current Block Size 256.0 KB
Peak Allocated Bytes 376 B
Overflow Count 0
[ALLOC_TEMP_Job.Worker 10]
Initial Block Size 256.0 KB
Current Block Size 256.0 KB
Peak Allocated Bytes 0.8 KB
Overflow Count 0
[ALLOC_TEMP_Job.Worker 12]
Initial Block Size 256.0 KB
Current Block Size 256.0 KB
Peak Allocated Bytes 54 B
Overflow Count 0
[ALLOC_TEMP_Loading.PreloadManager]
Initial Block Size 256.0 KB
Current Block Size 256.0 KB
Peak Allocated Bytes 18.2 KB
Overflow Count 4
[ALLOC_TEMP_Profiler.Dispatcher]
Initial Block Size 64.0 KB
Current Block Size 64.0 KB
Peak Allocated Bytes 0 B
Overflow Count 0
[ALLOC_TEMP_Job.Worker 14]
Initial Block Size 256.0 KB
Current Block Size 256.0 KB
Peak Allocated Bytes 54 B
Overflow Count 0
[ALLOC_TEMP_Job.Worker 3]
Initial Block Size 256.0 KB
Current Block Size 256.0 KB
Peak Allocated Bytes 11.4 KB
Overflow Count 0
[ALLOC_TEMP_Background Job.Worker 12]
Initial Block Size 32.0 KB
Current Block Size 32.0 KB
Peak Allocated Bytes 54 B
Overflow Count 0
[ALLOC_TEMP_AssetGarbageCollectorHelper] x 15
Initial Block Size 64.0 KB
Current Block Size 64.0 KB
Peak Allocated Bytes 0 B
Overflow Count 0
[ALLOC_TEMP_Background Job.Worker 5]
Initial Block Size 32.0 KB
Current Block Size 36.0 KB
Peak Allocated Bytes 34.3 KB
Overflow Count 0
[ALLOC_TEMP_Background Job.Worker 13]
Initial Block Size 32.0 KB
Current Block Size 32.0 KB
Peak Allocated Bytes 54 B
Overflow Count 0
[ALLOC_TEMP_Job.Worker 2]
Initial Block Size 256.0 KB
Current Block Size 256.0 KB
Peak Allocated Bytes 160 B
Overflow Count 0
[ALLOC_TEMP_Background Job.Worker 0]
Initial Block Size 32.0 KB
Current Block Size 32.0 KB
Peak Allocated Bytes 54 B
Overflow Count 0
[ALLOC_TEMP_Job.Worker 11]
Initial Block Size 256.0 KB
Current Block Size 256.0 KB
Peak Allocated Bytes 54 B
Overflow Count 0
[ALLOC_TEMP_Background Job.Worker 4]
Initial Block Size 32.0 KB
Current Block Size 36.0 KB
Peak Allocated Bytes 32.0 KB
Overflow Count 0
[ALLOC_TEMP_Job.Worker 0]
Initial Block Size 256.0 KB
Current Block Size 256.0 KB
Peak Allocated Bytes 16 B
Overflow Count 0
[ALLOC_TEMP_Job.Worker 5]
Initial Block Size 256.0 KB
Current Block Size 256.0 KB
Peak Allocated Bytes 0 B
Overflow Count 0
[ALLOC_TEMP_Background Job.Worker 14]
Initial Block Size 32.0 KB
Current Block Size 32.0 KB
Peak Allocated Bytes 54 B
Overflow Count 0
[ALLOC_TEMP_Job.Worker 6]
Initial Block Size 256.0 KB
Current Block Size 256.0 KB
Peak Allocated Bytes 0 B
Overflow Count 0
[ALLOC_TEMP_EnlightenWorker] x 8
Initial Block Size 64.0 KB
Current Block Size 64.0 KB
Peak Allocated Bytes 54 B
Overflow Count 0
[ALLOC_TEMP_UnityGfxDeviceWorker]
Initial Block Size 256.0 KB
Current Block Size 256.0 KB
Peak Allocated Bytes 34.5 KB
Overflow Count 0
[ALLOC_TEMP_Job.Worker 9]
Initial Block Size 256.0 KB
Current Block Size 256.0 KB
Peak Allocated Bytes 16 B
Overflow Count 0
[ALLOC_TEMP_Background Job.Worker 9]
Initial Block Size 32.0 KB
Current Block Size 32.0 KB
Peak Allocated Bytes 54 B
Overflow Count 0
[ALLOC_TEMP_Job.Worker 7]
Initial Block Size 256.0 KB
Current Block Size 256.0 KB
Peak Allocated Bytes 3.0 KB
Overflow Count 0
[ALLOC_TEMP_HIDInput]
Initial Block Size 64.0 KB
Current Block Size 64.0 KB
Peak Allocated Bytes 11.8 KB
Overflow Count 0
[ALLOC_TEMP_Loading.AsyncRead]
Initial Block Size 64.0 KB
Current Block Size 64.0 KB
Peak Allocated Bytes 312 B
Overflow Count 0
[ALLOC_MEMORYPROFILER]
Peak usage frame count: [128.0 KB-256.0 KB]: 1757 frames
Requested Block Size 1.0 MB
Peak Block count 1
Peak Allocated memory 241.4 KB
Peak Large allocation bytes 0 B
[ALLOC_DEFAULT] Dual Thread Allocator
Peak main deferred allocation count 34
[ALLOC_BUCKET]
Large Block size 4.0 MB
Used Block count 1
Peak Allocated bytes 2.2 MB
Failed Allocations. Bucket layout:
16B: 21 Subsections = 7168 buckets. Failed count: 171311
32B: 46 Subsections = 11776 buckets. Failed count: 3783
48B: 42 Subsections = 8601 buckets. Failed count: 540
64B: 46 Subsections = 7850 buckets. Failed count: 16616
80B: 23 Subsections = 3364 buckets. Failed count: 0
96B: 28 Subsections = 3584 buckets. Failed count: 0
112B: 38 Subsections = 4323 buckets. Failed count: 0
128B: 12 Subsections = 1228 buckets. Failed count: 0
[ALLOC_DEFAULT_MAIN]
Peak usage frame count: [32.0 MB-64.0 MB]: 1757 frames
Requested Block Size 16.0 MB
Peak Block count 3
Peak Allocated memory 52.0 MB
Peak Large allocation bytes 8.1 MB
[ALLOC_DEFAULT_THREAD]
Peak usage frame count: [16.0 MB-32.0 MB]: 1757 frames
Requested Block Size 16.0 MB
Peak Block count 1
Peak Allocated memory 18.8 MB
Peak Large allocation bytes 16.0 MB
[ALLOC_TEMP_JOB_1_FRAME]
Initial Block Size 2.0 MB
Used Block Count 1
Overflow Count (too large) 0
Overflow Count (full) 0
[ALLOC_TEMP_JOB_2_FRAMES]
Initial Block Size 2.0 MB
Used Block Count 1
Overflow Count (too large) 0
Overflow Count (full) 0
[ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
Initial Block Size 2.0 MB
Used Block Count 3
Overflow Count (too large) 0
Overflow Count (full) 0
[ALLOC_TEMP_JOB_ASYNC (Background)]
Initial Block Size 1.0 MB
Used Block Count 3
Overflow Count (too large) 0
Overflow Count (full) 0
[ALLOC_GFX] Dual Thread Allocator
Peak main deferred allocation count 7
[ALLOC_BUCKET]
Large Block size 4.0 MB
Used Block count 1
Peak Allocated bytes 2.2 MB
Failed Allocations. Bucket layout:
16B: 21 Subsections = 7168 buckets. Failed count: 171311
32B: 46 Subsections = 11776 buckets. Failed count: 3783
48B: 42 Subsections = 8601 buckets. Failed count: 540
64B: 46 Subsections = 7850 buckets. Failed count: 16616
80B: 23 Subsections = 3364 buckets. Failed count: 0
96B: 28 Subsections = 3584 buckets. Failed count: 0
112B: 38 Subsections = 4323 buckets. Failed count: 0
128B: 12 Subsections = 1228 buckets. Failed count: 0
[ALLOC_GFX_MAIN]
Peak usage frame count: [8.0 MB-16.0 MB]: 1757 frames
Requested Block Size 16.0 MB
Peak Block count 1
Peak Allocated memory 8.2 MB
Peak Large allocation bytes 0 B
[ALLOC_GFX_THREAD]
Peak usage frame count: [1.0 MB-2.0 MB]: 1757 frames
Requested Block Size 16.0 MB
Peak Block count 1
Peak Allocated memory 1.1 MB
Peak Large allocation bytes 0 B
[ALLOC_CACHEOBJECTS] Dual Thread Allocator
Peak main deferred allocation count 2
[ALLOC_BUCKET]
Large Block size 4.0 MB
Used Block count 1
Peak Allocated bytes 2.2 MB
Failed Allocations. Bucket layout:
16B: 21 Subsections = 7168 buckets. Failed count: 171311
32B: 46 Subsections = 11776 buckets. Failed count: 3783
48B: 42 Subsections = 8601 buckets. Failed count: 540
64B: 46 Subsections = 7850 buckets. Failed count: 16616
80B: 23 Subsections = 3364 buckets. Failed count: 0
96B: 28 Subsections = 3584 buckets. Failed count: 0
112B: 38 Subsections = 4323 buckets. Failed count: 0
128B: 12 Subsections = 1228 buckets. Failed count: 0
[ALLOC_CACHEOBJECTS_MAIN]
Peak usage frame count: [16.0 MB-32.0 MB]: 1757 frames
Requested Block Size 4.0 MB
Peak Block count 8
Peak Allocated memory 28.1 MB
Peak Large allocation bytes 0 B
[ALLOC_CACHEOBJECTS_THREAD]
Peak usage frame count: [1.0 MB-2.0 MB]: 1757 frames
Requested Block Size 4.0 MB
Peak Block count 1
Peak Allocated memory 1.8 MB
Peak Large allocation bytes 0 B
[ALLOC_TYPETREE] Dual Thread Allocator
Peak main deferred allocation count 0
[ALLOC_BUCKET]
Large Block size 4.0 MB
Used Block count 1
Peak Allocated bytes 2.2 MB
Failed Allocations. Bucket layout:
16B: 21 Subsections = 7168 buckets. Failed count: 171311
32B: 46 Subsections = 11776 buckets. Failed count: 3783
48B: 42 Subsections = 8601 buckets. Failed count: 540
64B: 46 Subsections = 7850 buckets. Failed count: 16616
80B: 23 Subsections = 3364 buckets. Failed count: 0
96B: 28 Subsections = 3584 buckets. Failed count: 0
112B: 38 Subsections = 4323 buckets. Failed count: 0
128B: 12 Subsections = 1228 buckets. Failed count: 0
[ALLOC_TYPETREE_MAIN]
Peak usage frame count: [16.0 KB-32.0 KB]: 1757 frames
Requested Block Size 2.0 MB
Peak Block count 1
Peak Allocated memory 19.2 KB
Peak Large allocation bytes 0 B
[ALLOC_TYPETREE_THREAD]
Peak usage frame count: [128.0 KB-256.0 KB]: 1757 frames
Requested Block Size 2.0 MB
Peak Block count 1
Peak Allocated memory 201.0 KB
Peak Large allocation bytes 0 B
[ALLOC_PROFILER]
Peak usage frame count: [256.0 KB-0.5 MB]: 1757 frames
Requested Block Size 16.0 MB
Peak Block count 1
Peak Allocated memory 264.6 KB
Peak Large allocation bytes 0 B
[ALLOC_PROFILER_BUCKET]
Large Block size 4.0 MB
Used Block count 1
Peak Allocated bytes 21.8 KB
##utp:{“type”:“MemoryLeaks”,“version”:2,“phase”:“Immediate”,“time”:1676075477501,“processId”:23012,“allocatedMemory”:6217321,“memoryLabels”:[{“Default”:9421},{“Permanent”:10160},{“NewDelete”:11752},{“Thread”:4229100},{“Manager”:19728},{“Geometry”:560},{“Texture”:16},{“Shader”:67176},{“Material”:24},{“GfxDevice”:49472},{“Animation”:240},{“Audio”:3976},{“FontEngine”:4096},{“Physics”:304},{“Serialization”:744},{“Input”:14208},{“JobScheduler”:200},{“Mono”:40},{“ScriptingNativeRuntime”:216},{“BaseObject”:1617364},{“Resource”:688},{“Renderer”:1960},{“Transform”:16},{“File”:840},{“WebCam”:40},{“Culling”:40},{“Terrain”:953},{“Wind”:24},{“STL”:48},{“String”:3476},{“DynamicArray”:30868},{“HashMap”:7680},{“Utility”:5152},{“PoolAlloc”:1368},{“TypeTree”:1792},{“ScriptManager”:80},{“RuntimeInitializeOnLoadManager”:80},{“SpriteAtlas”:128},{“GI”:3688},{“Unet”:16},{“Director”:7776},{“WebRequest”:688},{“VR”:45401},{“SceneManager”:424},{“Video”:32},{“LazyScriptCache”:40},{“NativeArray”:384},{“Camera”:25},{“Secure”:1},{“SerializationCache”:624},{“APIUpdating”:5872},{“Subsystems”:392},{“VirtualTexturing”:57888},{“AssetReference”:40}]}
The weirdest part of my project is I tried rolling back to previous milestone and use Unity 2021.2.4f1 to build(this milestone was submitted using this Unity version, so its proven to have worked). The build doesn’t show the ComputerShader error but the memory leak message and the app still opens into a small bleep.
Please help, we tried to revert but to no avail the only choice we have is to ask here or to rebuild.