Skip to content

fix: remove dead API doc links to internal scene event types#4064

Open
michalChrobot wants to merge 1 commit into
develop-2.0.0from
ngo/fix-scene-event-doc-links
Open

fix: remove dead API doc links to internal scene event types#4064
michalChrobot wants to merge 1 commit into
develop-2.0.0from
ngo/fix-scene-event-doc-links

Conversation

@michalChrobot

@michalChrobot michalChrobot commented Jul 1, 2026

Copy link
Copy Markdown
Member

Purpose of this PR

On the NetworkSceneManager manual/API page, the first paragraph contained hyperlinks for the SceneEventMessage and SceneEventData types. Clicking either link led to a missing documentation page.

SceneEventMessage (internal struct) and SceneEventData (internal class) are internal
implementation types, so they are excluded from the public DocFX-generated API documentation and
have no doc pages (Also they don't really have formatted description when you look at them).
However, the public NetworkSceneManager XML docs referenced them with
<see cref="..."/>, which DocFX renders as hyperlinks resolving to non-existent pages:

I converted the descriptive references to inline code so it keeps the names readable without emitting a dead link.

Jira ticket

https://jira.unity3d.com/browse/UUM-131558

Changelog

N/A as this is only a docs change

Documentation

Corrected docs links

Testing & QA (How your changes can be verified during release Playtest)

Manually verified that it works now

Backports

N/A

…558)

The NetworkSceneManager class summary and SceneEventDelegate XML docs
referenced the internal types SceneEventMessage and SceneEventData via
<see cref>, which generate hyperlinks in the DocFX-generated API docs.
Because those types are internal they have no public documentation
pages, so the links resolved to missing pages.

Convert the descriptive class-summary references to inline code (<c>)
and drop the internal SceneEventData entry from the SceneEventDelegate
'See also' list (a user cannot reference an internal type), keeping the
public SceneEvent link.
@michalChrobot michalChrobot self-assigned this Jul 1, 2026
@michalChrobot michalChrobot marked this pull request as ready for review July 1, 2026 14:28
@michalChrobot michalChrobot requested a review from a team as a code owner July 1, 2026 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant