Repository navigation
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Documents
FromWorldScene, overload calls, the session timeout, the Udon doubles assembly, a newTestAssemblyUpdaterpage and the SDK 3.10.5 minimum. Every kit page is checked against the codeand the style guide.