Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Object visibility with late joining players - SpawnWithObservers & CheckObjectVisibility  #2609

Copy link
Copy link
Closed
@Shahafta

Description

@Shahafta
Issue body actions

Actually don't know if to call this a bug, an overlooked feature, an irrelevant feature, or maybe this is simply deliberate.

When certain objects spawn in my game, I want them to be invisible to everyone - both to spawned players and to players that might join and spawn in the future. I used to acheive this using CheckObjectVisibility like in the second image, but with 1.5.1 there is an issue with this method.

After updating to NGO 1.5.1, when I'm using NetworkShow on an object, I get the error in the first image.
I am using CheckObjectVisibility like in the second image so that objects are only visible to themselves by default.
So I think the error is caused because there is a conflict between NetworkShow and CheckObjectVisiblity.
All of this was not present with the prior versions of NGO.

So I tried using "SpawnWithObservers = false" instead.
But the thing is that if I set SpawnWithObservers to false on an object, it is only invisible to players that are already spawned. So if a new player spawns after that specific object has been spawned, that player would be able to see it. So SpawnWithObservers is actually useless to me in 90% of scenarios.

Sorry for not using the template, felt like I can't fit the issue into it well.

image (1)

image (2)

Metadata

Metadata

Labels

priority:highThis issue has high priority and we are focusing to resolve itThis issue has high priority and we are focusing to resolve itstat:importedStatus - Issue is tracked internally at UnityStatus - Issue is tracked internally at Unitytype:bugBug ReportBug Report

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.