x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

FNetGUIDCache::SupportsObject: class_Name, object_path NOT Supported.

I implemented Subobject replication like this:

 bool AARCharacter::ReplicateSubobjects(class UActorChannel *Channel, class FOutBunch *Bunch, FReplicationFlags *RepFlags)
 {
     bool WroteSomething = Super::ReplicateSubobjects(Channel, Bunch, RepFlags);
 
     for (const UGISItemData* item : StructRep)
     {
         if (item)
         {
             WroteSomething |= Channel->ReplicateSubobject(const_cast<UGISItemData*>(item), *Bunch, *RepFlags);
         }
     }
 
     return WroteSomething;
 }

And then, for testing purposes:

 void AARCharacter::BeginPlay()
 {
     Super::BeginPlay();
     if (Role == ROLE_Authority)
     {
         UGISItemData* dmg = ConstructObject<UGISItemData>(UGISItemData::StaticClass(), this);
         StructRep.Add(dmg);
     }
 }

 void AARCharacter::GetLifetimeReplicatedProps(TArray< class FLifetimeProperty > & OutLifetimeProps) const
 {
     Super::GetLifetimeReplicatedProps(OutLifetimeProps);
 
     DOREPLIFETIME(AARCharacter, StructRep);
 
 }

And this is exact error:

 FNetGUIDCache::SupportsObject: GISItemData /Game/Maps/UEDPIE_1_Example_Map.Example_Map:PersistentLevel.MyCharacter_C_0.GISItemData_1 NOT Supported.

 Assertion failed: Object->IsSupportedForNetworking() [File:D:\Unreal\UnrealEngine-4.6\Engine\Source\Runtime\Engine\Private\PackageMapClient.cpp] [Line: 1402] 

UGISItemData, is in separate module (plugin), if that matter.

Product Version: Not Selected
Tags:
more ▼

asked Nov 30 '14 at 05:15 PM in C++ Programming

avatar image

iniside
1.6k 105 97 185

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

Fixed issues. To make it work, you must make UObject network supported, which means implementing these two functions:

 bool IsNameStableForNetworking() const override;

 bool IsSupportedForNetworking() const override
 {
     return true;
 }

At very least IsSupportedForNetworking() must return true. IsNameStableForNetworking() is useful, when objects are stable (means they are created upon construction time), not dynamically during gameplay.

more ▼

answered Nov 30 '14 at 05:38 PM

avatar image

iniside
1.6k 105 97 185

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Hello there I'm currently having issues with this .

The object relevant is a procedurally generated object created on blueprint. How should I proceed to do this without C++? Is there a blueprint solution to this?

[2015.11.26-15.20.16:738][ 87]LogNetPackageMap:Warning: FNetGUIDCache::SupportsObject: StaticMeshComponent /Game/PC_Maps/Playtest1_RoadNetwork.Playtest1_RoadNetwork:PersistentLevel.CurbGenerator4.StaticMeshComponent_163 NOT Supported. [2015.11.26-15.20.16:769][ 89]LogNetPlayerMovement:Warning: ClientAdjustPosition_Implementation could not resolve the new relative movement base actor, ignoring server correction!

more ▼

answered Nov 26 '15 at 03:23 PM

avatar image

Frozenfire
662 61 84 117

avatar image Nicat Apr 05 '19 at 10:42 AM

In case someone else stumbles upon this, make sure you have checked the Component Replicates box in components' Add Component node.

avatar image Frozenfire Apr 05 '19 at 04:30 PM

Hmm , may I know what's the reason this would solve the problem?

The components are net load on client and had no runtime changes at all. Technically the client should be able to access the component which is 100% a similar of the server.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question