Table of Contents

Method ResolveStreamingAssets

Namespace
GrindFest.Editor
Assembly
GrindFest.dll

ResolveStreamingAssets(BuildReport)

Finds the StreamingAssets folder in a build output.

The layout is not the same for every target: Standalone → <outputDir>/<playerName>_Data/StreamingAssets WebGL → <outputDir>/StreamingAssets (next to index.html)

Getting this wrong is silent: the caller just finds nothing and skips its work. That is why the old WebGL build shipped both VS Code archives. For the same reason the data folder is never derived from the executable name — the Linux player is built as "GrindFest.x86_64" while its data folder is "GrindFest_Data", so trimming the extension produces "GrindFest.x86_Data" and the strip quietly does nothing. Returns null when no candidate exists.

public static string ResolveStreamingAssets(BuildReport report)

Parameters

report BuildReport

Returns

string