Skip to content

Feature/udon test kit close gaps docs - #15

Merged
ToniSeas merged 12 commits into
feature/udon-test-kit-1.1.0-docsfrom
feature/udon-test-kit-close-gaps-docs
Oct 18, 2026
Merged

ToniSeas merged 12 commits into
feature/udon-test-kit-1.1.0-docsfrom
feature/udon-test-kit-close-gaps-docs

Conversation

@ToniSeas

Copy link
Copy Markdown
Contributor

Documents FromWorldScene, overload calls, the session timeout, the Udon doubles assembly, a new
TestAssemblyUpdater page and the SDK 3.10.5 minimum. Every kit page is checked against the code
and the style guide.

BuiltWorld.FromWorldScene builds the loaded scene with the scene
descriptor, checks the descriptor count and that the scene was saved,
and reads back the path its own build recorded.

Signed-off-by: Toni Seas <83423392+ToniSeas@users.noreply.github.com>
PrivateFieldAccess picks the overload the arguments fit,
ClientSimSession has ReadyTimeoutSeconds and needs the persistence
define for its restore, UdonCallLog.Calls is a string array that
UdonHost.Calls copies, and UdonHost points Udon doubles at their
assembly.

Signed-off-by: Toni Seas <83423392+ToniSeas@users.noreply.github.com>
Run marks the errors it returns expected, throws outside a test when
the compile logs errors, and compiles for the Editor first so a queued
UdonSharp compile can't hide the errors of the compile for upload.

Signed-off-by: Toni Seas <83423392+ToniSeas@users.noreply.github.com>
Test Assemblies creates four assemblies, the Udon doubles one with its
U# assembly definition and an example double, gives the Edit Mode test
assembly the Editor-only assembly definitions of the world, and warns
about both predefined assemblies. Update Test Assembly References adds
the assembly definitions a world got later, and gets its own reference
page before the two runner scripts.

Signed-off-by: Toni Seas <83423392+ToniSeas@users.noreply.github.com>
The workarounds page says the Udon doubles assembly compiles into
player builds. TestRun counts any process started with -runTests, the
TestScene page gives the reason Unity marks UnloadScene obsolete, and
the call by name pages say which methods a call reaches. Product
possessives, dashes and long lines are reworded.

Signed-off-by: Toni Seas <83423392+ToniSeas@users.noreply.github.com>
The kit and its tests use UdonSharp and SDK members that first ship in
3.10.5, such as the build target of the compile options, so the
paragraph about SDKs before 3.8.2 no longer decides the minimum.

Signed-off-by: Toni Seas <83423392+ToniSeas@users.noreply.github.com>
The ownership and ending sections restated what the explanation page
says about ClientSim owners and its leftover save object; they keep the
facts and link there.

Signed-off-by: Toni Seas <83423392+ToniSeas@users.noreply.github.com>
The exporter records the world it builds as the last build, the one
Test Last Build and Reload Last Build use, and deletes the world files
of earlier builds. FromWorldScene now keeps those files and puts back
everything the SDK recorded, not only the path of the current build.

Signed-off-by: Toni Seas <83423392+ToniSeas@users.noreply.github.com>
UdonSharp copies them into Assets/UdonSharp of every project, where
they compile into Assembly-CSharp, and the creator now leaves them out
of its warning about scripts the test assemblies can't reference.

Signed-off-by: Toni Seas <83423392+ToniSeas@users.noreply.github.com>
The style guide bolds at most one phrase per section, and the two control panel actions read as names without it.

Signed-off-by: Toni Seas <83423392+ToniSeas@users.noreply.github.com>
The example found the scoreboard with FindObjectOfType<Scoreboard>(),
which in Play Mode returns the C# component UdonSharp keeps beside the
UdonBehaviour, so its calls ran as C#, apart from the program the scene
runs. The test now drives the UdonBehaviour with SendCustomEvent and
reads the result with GetProgramVariable.

Signed-off-by: Toni Seas <83423392+ToniSeas@users.noreply.github.com>
The intro named the Udon spy and the test doubles before a reader knows
either. It now says the kit stays out of the world build and links to
the section that explains when.

Signed-off-by: Toni Seas <83423392+ToniSeas@users.noreply.github.com>
@ToniSeas ToniSeas self-assigned this Oct 18, 2026
@ToniSeas ToniSeas added documentation Improvements or additions to documentation enhancement New feature or request labels Oct 18, 2026
@ToniSeas
ToniSeas added this pull request to stack #17 October 18, 2026 03:07
@ToniSeas
ToniSeas merged commit b6a248e into main Oct 18, 2026
3 checks passed
@ToniSeas
ToniSeas deleted the feature/udon-test-kit-close-gaps-docs branch October 18, 2026 03:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant