Reply by js0078470 | 2024-09-03 10:02:14
Images:
Reply by k3kalinix | 2024-09-03 10:03:23
Don’t use full without stacktrace
Reply by js0078470 | 2024-09-03 10:03:41
then ?
Reply by k3kalinix | 2024-09-03 10:04:35
I don’t remember the other option. Can you please show me?
Reply by k3kalinix | 2024-09-03 10:07:59
ExplicitlyThrownExceptionsOnly
Reply by k3kalinix | 2024-09-03 10:08:04
Use this.
Reply by js0078470 | 2024-09-03 10:15:18
ok
Reply by js0078470 | 2024-09-03 10:18:12
same issue
Reply by k3kalinix | 2024-09-03 10:19:40
memory size 1024
Reply by js0078470 | 2024-09-03 10:20:07
ok
Reply by js0078470 | 2024-09-03 10:34:11
not working same issue
Reply by k3kalinix | 2024-09-03 10:34:33
What is build size?
Reply by js0078470 | 2024-09-03 10:34:58
137 mb
Reply by k3kalinix | 2024-09-03 10:35:50
Embedded Content:
Limitations of WebGL Plugin | API Docs
Understand the limitations of the WebGL plugin for Unity with Convai. Optimize your development.
Link: Limitations of WebGL Plugin | Documentation
Reply by js0078470 | 2024-09-03 10:36:20
currently building demo scene which is in convai example
Reply by k3kalinix | 2024-09-03 16:47:37
I see
Reply by k3kalinix | 2024-09-03 16:47:53
<@368669084952428554> do you have any idea?
Reply by saurav0037 | 2024-09-04 08:53:43
<@531539309321519117> I think for now you can try reducing the size a bit.
Try this code :
`function checkWasmMemoryLimits() {
const PAGE_SIZE = 64 * 1024; // WebAssembly page size is 64KB
const MAX_PAGES = 65536; // Theoretical maximum number of pages (4GB)
let maxPages = 0;
try {
while (maxPages < MAX_PAGES) {
let memory = new WebAssembly.Memory({ initial: maxPages + 1 });
maxPages++;
}
} catch (e) {
console.log(`Maximum WebAssembly memory pages: ${maxPages}`);
console.log(`Approximate memory limit: ${(maxPages * PAGE_SIZE / (1024 * 1024)).toFixed(2)} MB`);
}
}
checkWasmMemoryLimits();
`
Reply by saurav0037 | 2024-09-04 08:54:14
This is a gpt code so do change it how you like. This is just to test wasm memory limits
Reply by saurav0037 | 2024-09-04 08:57:13
For mobile browsers, it’s recommended to configure the Initial Memory Size to the typical heap usage of the application.
Use Unity - Manual: Unity Profiler To check your heap memory usage
Embedded Content:
Link: Unity - Manual: Unity Profiler