Appearance
Troubleshooting
The header cannot be found
Add the dependency for the header's owning module. Core types require RocketInventoryCore; input, interaction, and previews require their optional modules. Use public include paths shown in the class directory.
Keep preview references out of dedicated-server targets and editor references out of runtime targets.
No container is created
Check the definition, its main ContainerFragment, and the fragment's ContainerClass. Ensure your authoritative setup actually calls AddContainerFromDefinition() or collection creation.
The manager does not populate itself from an arbitrary definition reference.
Addition accepts fewer items than requested
Read OutItemsAdded or FRicAddResult::AddedItemCount. Check free footprints, maximum stack, filters, rotation, selected root tags, exclusions, and nested-placement options.
A nonempty root selection does not select unrelated child containers elsewhere. Swap storage is excluded from ordinary manager additions.
A grid item does not fit
Check the occupied mask, target index, usable container mask, rotation permissions, existing contents, and filters for every occupied cell.
Use ERicRotation enum values; their integers are 0–3, not 0/90/180/270. Changing dimensions without updating mask bits can leave an unintended shape.
UI changes and then returns to an earlier state
The local operation was predicted and later reconciled. Check the authoritative destination, quantity, filters, and current source item.
Confirm the player's actor has an owning connection and the RPC component exists. Use replicated results for authoritative gameplay decisions.
Client cannot interact with a chest
Check relevance and replication of the chest manager/tree. Select it through SetObservedContainerManager() and show observed copies. Send requests through the player's gateway.
Observation alone does not grant access. Verify your server-side distance and permission logic.
Item pointer is stale after movement
Transfers across managers and synchronization can replace instances. Store the GUID and resolve again through manager or prediction. Rebind item delegates to the current object.
Swap fails or leaves a buffered item
Create an eligible Ric.Container.Type.Swap root. Ensure it accepts the displaced item and is empty unless its current item is the source. Check target footprint, filters, and ownership cycles.
The buffer strategy is designed to keep a displaced item available for the next placement. If execution fails after displacement, handle the buffered item explicitly. A handled result is not a guarantee that every intended placement completed.
For relocate behavior, the strategy needs a placement plan for the displaced item. A recovery buffer can still be needed after an unexpected execution failure.
Magazine transfer has no effect
Check Magazine Data's ammunition definition, positive MaxAmmoCount, current AmmoCount, matching ammunition quantities, and space for unloading. Use prediction's LoadAmmo() / UnloadAmmo().
These operations do not play a reload animation or consume rounds when firing; integrate those in weapon gameplay.
Save loads without the intended owner
Set stable unique manager IDs before restore. Register owners by letting their components begin play. Spawn persistent actors through your game before calling world restore.
World restore matches existing managers and does not create missing actors.
Save data or assets are missing
Keep the snapshot in a reflected save-game property. Current native serializers cover recursive fields, including indices, GUIDs, and tag maps.
Verify definition assets exist and are included in packaged content. Test your actual archive/storage path and restart round trip. Old incomplete files cannot recover information that was never written.
A quick slot becomes empty
Check index range, count initialization, filters, and ownership. A containing item leaving the inventory can invalidate shortcuts to its descendants. Restore inventory before shortcut GUID mappings.
Gamepad cursor does not move
Enable it explicitly, use the local player's input subsystem, and ensure the game viewport has the appropriate focus without mouse capture. Check current input type, speed, and dead zone.
Your UI manages cursor visibility and input mode. Disable cursor routing when the UI closes.
Preview is initially blank
Shared capture is queued. Initialize the displayed actor, call RefreshPreview(), and allow the capture queue to advance. Bind the render target to your UI material.
Check lighting, camera settings, mesh state, and show-only hierarchy. Attachments must belong to the displayed actor hierarchy.
Preview uses old settings or disappears in another widget
The same name reuses the original entry and settings. Use distinct keys for different appearances. Shared previews are not reference counted; coordinate callers before closing one.
Retire unused entries and clear references to their resources to keep cache growth controlled.
Notifications do not arrive immediately
Some manager and prediction events are deferred or debounced. Subscribe before interacting, read initial state explicitly, and re-read current state in callbacks. Avoid assuming one callback per low-level mutation.