ParelVRDocs
Player site

Scripting / VoltCS

Limits

What a world's scripts may use, so one world cannot slow down or harm a player's game.

When a script goes over a limit, the call that went over is stopped and an error is logged to the Volt Console (and the world log in ParelVR). The rest of the world keeps running.

Time#

Limit Value
Instructions per call 2,000,000
Instructions per frame, all scripts 8,000,000
Time per call 250 ms
Time per frame, all scripts 12 ms
Call depth 256
API calls per frame 250,000
Coroutines 512

Memory#

Limit Value
Script heap 128 MB
Array length 4,000,000
String length 1,000,000 characters
Collection size 1,000,000
Nesting depth of data (VoltData, JSON) 32
Script instances 8,192

Network#

Limit Value
Network events per second 30
Network bytes per second, per player 24 KB
Payload of one network event 8 KB
Arguments of one network event 8
Synced data per object 8 KB
Serializations per second, per object (Continuous) 10
Network events per class 256

Web#

Limit Value
Requests per minute 12
Requests at once 2
Response size 1 MB
Request body 64 KB
Timeout 10 s
Redirects 3

Requests are https only, and only to hosts the world declared when it was built.

Storage#

Limit Value
Operations per minute 60
Key length 64 characters (letters, digits, dots, dashes, underscores)
Value size 64 KB

Logging#

Limit Value
Log lines per second 200
Length of one line 8,192 characters