You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The engine is gaining a configurable limit on the number of concurrent asset requests, to avoid browsers rejecting requests with net::ERR_INSUFFICIENT_RESOURCES when a project preloads a large number of assets at once (see playcanvas/engine#5258).
The engine reads a maxConcurrentRequests property from the application/project settings (parsed in AppBase._parseApplicationProperties, right alongside the existing maxAssetRetries), and also exposes it at runtime as app.loader.maxConcurrentRequests. The default is 128; a value of 0 disables throttling.
Request
Expose this as a "Max Concurrent Requests" field in the Network settings panel, next to the existing Asset Retries field. The editor should write the value into the project config under maxConcurrentRequests, mirroring how Asset Retries writes maxAssetRetries, so the engine picks it up automatically.
Notes
Suggested default in the UI: 128.
A value of 0 should mean "unlimited / throttling disabled".
Summary
The engine is gaining a configurable limit on the number of concurrent asset requests, to avoid browsers rejecting requests with
net::ERR_INSUFFICIENT_RESOURCESwhen a project preloads a large number of assets at once (see playcanvas/engine#5258).The engine reads a
maxConcurrentRequestsproperty from the application/project settings (parsed inAppBase._parseApplicationProperties, right alongside the existingmaxAssetRetries), and also exposes it at runtime asapp.loader.maxConcurrentRequests. The default is 128; a value of0disables throttling.Request
Expose this as a "Max Concurrent Requests" field in the Network settings panel, next to the existing Asset Retries field. The editor should write the value into the project config under
maxConcurrentRequests, mirroring how Asset Retries writesmaxAssetRetries, so the engine picks it up automatically.Notes
Related: playcanvas/engine#5258