Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
891 commits
Select commit Hold shift + click to select a range
ddb8679
prevalidate normalizedDistanceFromRoot
dooly123 Dec 27, 2025
19abb82
pre cached meshlodmulitplier
dooly123 Dec 27, 2025
903cbd3
more optimizations
dooly123 Dec 27, 2025
f9c53df
further optimizations
dooly123 Dec 27, 2025
2d60acc
improving avatar sync size to be generated instead of known
dooly123 Dec 27, 2025
2d6d376
now 153 bytes per avatar sync
dooly123 Dec 27, 2025
85001d9
AndroidBundleVersionCode updated
dooly123 Dec 27, 2025
0bcd672
fixed scale z
dooly123 Dec 27, 2025
35b0270
changed HasAnimatedParameters
dooly123 Dec 27, 2025
41eba35
Receiver changes
dooly123 Dec 28, 2025
7d09618
working on the receiver loop
dooly123 Dec 28, 2025
c457612
getting closer
dooly123 Dec 28, 2025
cba2714
the last blocking issue is now mouth visemes
dooly123 Dec 28, 2025
dc2ffa0
lipsync performance improvements also made it schedule and complete a…
dooly123 Dec 28, 2025
9ffcb75
AndroidBundleVersionCode 154
dooly123 Dec 28, 2025
a61ce60
added another check
dooly123 Dec 28, 2025
1465e60
cleaned up some of the face management code
dooly123 Dec 28, 2025
6146119
Revert "cleaned up some of the face management code"
dooly123 Dec 28, 2025
ba64f2c
fixes wonky eye issues with people joining
dooly123 Dec 28, 2025
2caf8c9
away we go
dooly123 Dec 28, 2025
03cbd3b
can move erroring shaders into urp lit
dooly123 Dec 29, 2025
365736a
standalone
dooly123 Dec 29, 2025
0ba9089
this breaks a lot of things if your on this branch dont be at this time.
dooly123 Dec 29, 2025
289a8fa
swapped over
dooly123 Dec 29, 2025
0df916a
we dont need mac build profiles, its just desktop same as window & linux
dooly123 Dec 29, 2025
959fec7
updated pool table
dooly123 Dec 30, 2025
bb1585d
removed default avatars
dooly123 Dec 30, 2025
74e6b97
ready to merge
dooly123 Dec 30, 2025
9282088
remove silence threshold
dooly123 Dec 30, 2025
0ee4320
Update README.md
dooly123 Dec 30, 2025
4938393
made some memory improvements
dooly123 Dec 30, 2025
a1a184e
potential fix for send outs of audio and avatar reload not being proc…
dooly123 Dec 30, 2025
4315bed
removed helper
dooly123 Dec 30, 2025
c5ff40e
delete files that error, added more default avatars
dooly123 Dec 30, 2025
73f0c35
more ik changes
dooly123 Dec 31, 2025
95d8e79
removed custom mode
dooly123 Dec 31, 2025
13019fa
corrected eye vs arm in desktop
dooly123 Dec 31, 2025
e28b186
fixed count and added more info to editor test
dooly123 Dec 31, 2025
7c73335
fixed scaler calibration mistake
dooly123 Dec 31, 2025
f88530e
improved calibration stage for avatar radius during calibration
dooly123 Dec 31, 2025
5d0ecdb
fix for feet range
dooly123 Dec 31, 2025
aa601e5
allowed off thread tasks for CompressAvatarMuscles_BitPacked
dooly123 Dec 31, 2025
7f62f7f
more changes for performance reasons
dooly123 Dec 31, 2025
ba15c1d
stopped setting active state if not needed
dooly123 Jan 1, 2026
dbd2423
another threaded task added
dooly123 Jan 1, 2026
52170af
lipsync changes
dooly123 Jan 1, 2026
f9515dc
performance improvements to lipsync
dooly123 Jan 1, 2026
9008026
further improvements
dooly123 Jan 1, 2026
36381b6
lipsync updated
dooly123 Jan 1, 2026
8bad98f
more work
dooly123 Jan 1, 2026
709aad8
added LastUsedColor to microphone icon system
dooly123 Jan 1, 2026
e7ed1e7
added avatar info to metadata
dooly123 Jan 1, 2026
e1ab45b
further performance improvement
dooly123 Jan 1, 2026
bff16ba
improving how we handle scaling for remote players
dooly123 Jan 1, 2026
e0fb4b9
changed how data is given out
dooly123 Jan 1, 2026
c82405a
improved memory movement
dooly123 Jan 1, 2026
77094d7
instead of trying to fix a avatar payload lets just nuke it
dooly123 Jan 1, 2026
66e6144
ulipsync improved
dooly123 Jan 1, 2026
f9a2211
cleanedup
dooly123 Jan 1, 2026
9bab5b7
further lipsync changes
dooly123 Jan 1, 2026
eb06a33
cleaned up change logs
dooly123 Jan 1, 2026
376b736
undid some changes before i redo them
dooly123 Jan 2, 2026
a320b37
moved around mem copys
dooly123 Jan 2, 2026
0f347b9
scaled gated behind on requirement
dooly123 Jan 2, 2026
3a4ec3a
removed one of the null checks
dooly123 Jan 2, 2026
2934d2f
improved network lerp
dooly123 Jan 2, 2026
afa01e8
cleanup
dooly123 Jan 2, 2026
541f426
More robust validation of avatar texture settings (#484)
BoatFloater Jan 2, 2026
245a3c8
improving
dooly123 Jan 2, 2026
4e5fc13
lerp code changed
dooly123 Jan 2, 2026
347c351
reduced steam audio lookup of instance
dooly123 Jan 2, 2026
cd8c46e
steam audio performance improvements
dooly123 Jan 2, 2026
9c1e80c
improved apply performance greatly
dooly123 Jan 2, 2026
bd243c9
ready to test and merge
dooly123 Jan 2, 2026
5c0d4a7
fixed a assign mistake
dooly123 Jan 2, 2026
342d180
cleaning up buffer holders
dooly123 Jan 2, 2026
e1d967d
made further changes to help issues like double release
dooly123 Jan 2, 2026
9ffb1e5
disabled asserts.
dooly123 Jan 2, 2026
aa7240c
need to readd documentation for remote player, tomorrows problem
dooly123 Jan 2, 2026
b9ee0c1
Revert "need to readd documentation for remote player, tomorrows prob…
dooly123 Jan 2, 2026
296c9e8
fixed max check
dooly123 Jan 2, 2026
90aa7fe
sanitized input
dooly123 Jan 2, 2026
0836a8a
flicking fixed
dooly123 Jan 2, 2026
b575b9d
set running false when deleted
dooly123 Jan 3, 2026
0bf4367
interpolation changes
dooly123 Jan 3, 2026
c9dc107
Revert "interpolation changes"
dooly123 Jan 3, 2026
dd135bc
Merge branch 'network-ik-lerp-improvements' into developer
dooly123 Jan 3, 2026
dfaefac
iOS audio crash and speaker default output (#487)
katruud Jan 3, 2026
9776e1a
Add vehicles to Basis (#442)
aaronfranke Jan 3, 2026
d0c220e
fixed transform write read during time
dooly123 Jan 3, 2026
d6a41a1
getting ready to jobify
dooly123 Jan 3, 2026
ea17f44
steam audio performance improvements
dooly123 Jan 3, 2026
0040806
fix audio manager
dooly123 Jan 3, 2026
7d93728
more steam audio updates
dooly123 Jan 3, 2026
8a0fbef
added way to set smoothing of trackers
dooly123 Jan 3, 2026
ce8840e
calibration fixes
dooly123 Jan 3, 2026
50e907b
added shadow only support for basis rendering
dooly123 Jan 3, 2026
c80860a
microphone lightup fixed,
dooly123 Jan 3, 2026
bef954c
set human pose
dooly123 Jan 4, 2026
9d67d37
more flickering fixes
dooly123 Jan 4, 2026
7e93210
ResizePersonalColliderCapacity
dooly123 Jan 4, 2026
734379d
link.xml changes
dooly123 Jan 4, 2026
1551586
removed positional offsets in ik, no longer needed
dooly123 Jan 4, 2026
44cfa01
graphics mode set
dooly123 Jan 5, 2026
27e4807
Avatar panel update (add mac and ios images) (#491)
towneh Jan 5, 2026
f5989f0
+1 after load
dooly123 Jan 5, 2026
3c84dd3
Merge branch 'developer' of https://github.com/BasisVR/Basis into dev…
dooly123 Jan 5, 2026
cb23eea
changed how we build the receiver array
dooly123 Jan 5, 2026
bbc7f27
further improvements
dooly123 Jan 5, 2026
0c29fb7
fixed up compute of active count
dooly123 Jan 5, 2026
5c975ec
changed rotation to 16
dooly123 Jan 5, 2026
310a5eb
the current networking is jank
dooly123 Jan 5, 2026
df44733
timing fixes
dooly123 Jan 5, 2026
927125b
back in a working state
dooly123 Jan 5, 2026
adfbf02
should fix duplicate avatar by deleting instead of using unity to del…
dooly123 Jan 6, 2026
3ab186f
Avatar List Page UI fixes (#492)
towneh Jan 6, 2026
d6bb9e3
IgnoredByInteractable added, changed a few apis to be more accurate a…
dooly123 Jan 6, 2026
a0be195
Merge branch 'developer' of https://github.com/BasisVR/Basis into dev…
dooly123 Jan 6, 2026
ddbe4fe
building a driver that stores common between all lip syncs
dooly123 Jan 6, 2026
54a19f7
transferred over the rest
dooly123 Jan 6, 2026
3ae074b
moved firTaps & hammingWindow to shared buffer
dooly123 Jan 6, 2026
8434c19
tomorrow i will improve the load times as much as possible.
dooly123 Jan 6, 2026
e119945
further memory and performance improvements
dooly123 Jan 7, 2026
495cb07
cached more things into a single instance
dooly123 Jan 7, 2026
0bf7614
working on reducing our usage of coroutines
dooly123 Jan 7, 2026
0b2bdb3
last of the performance improvements for a while
dooly123 Jan 7, 2026
f78f593
pre stored some meta data
dooly123 Jan 7, 2026
006fd8c
experimental dsp buffer change
dooly123 Jan 7, 2026
155e760
removed old debug
dooly123 Jan 7, 2026
4bf88f4
that already looks better, steamvr rotation fox
dooly123 Jan 7, 2026
9c4c086
more offset changes
dooly123 Jan 7, 2026
9c85ede
latest jiggles from repo
dooly123 Jan 8, 2026
f568ef2
trying crims values for controller rotation offsets
dooly123 Jan 8, 2026
35916f3
added ValidateEyeToArmSizes to stop arm from being less then the heig…
dooly123 Jan 8, 2026
cdfd968
swapped to concurrent buffer
dooly123 Jan 8, 2026
8f4f0c1
changed max iterations
dooly123 Jan 8, 2026
a2ffc0b
changed to match what unity wants
dooly123 Jan 8, 2026
7578d5a
working on avatar sdk again
dooly123 Jan 8, 2026
aff3c9b
fixed up translation being on by default
dooly123 Jan 8, 2026
023a36c
updated assets
dooly123 Jan 8, 2026
d68ef1e
changed how we deal with deadzones
dooly123 Jan 9, 2026
4b41b39
added butterfly support to joystick look
dooly123 Jan 9, 2026
7a838e8
added new binding menu
dooly123 Jan 9, 2026
0591b6b
ready to merge this section
dooly123 Jan 9, 2026
32c8917
console moved over
dooly123 Jan 9, 2026
8f3d901
nuked old prefabs
dooly123 Jan 9, 2026
927f87c
Updated Build Info collection box
towneh Jan 9, 2026
fd82092
Removed BasisVR from bug field
towneh Jan 9, 2026
9b72c53
fix for fields not firing off (new controller settings)
dooly123 Jan 10, 2026
a5a3135
fix for console length
dooly123 Jan 10, 2026
1f0ef5f
console tab changed
dooly123 Jan 10, 2026
b391a9c
admin replacement in main menu
dooly123 Jan 10, 2026
c63100f
split mode selected for graphics
dooly123 Jan 10, 2026
48028f5
added smoothlocomotion & mousesensitivty
dooly123 Jan 10, 2026
0df5dc2
changed snapturn name
dooly123 Jan 10, 2026
785e7bd
next release
dooly123 Jan 10, 2026
94cdf18
improved how we handle shadows and local player
dooly123 Jan 10, 2026
22d6008
shadow clone should be better off now
dooly123 Jan 10, 2026
94522d8
added lod support for .asset type meshes
dooly123 Jan 10, 2026
22c0428
fixed a few sdk bugs
dooly123 Jan 10, 2026
4ecc40a
changed ui raycasting visuals
dooly123 Jan 10, 2026
1918ae1
added capped framerate set
dooly123 Jan 10, 2026
3254147
changed more openxr settings
dooly123 Jan 10, 2026
7d4dd6f
set some defaults better
dooly123 Jan 10, 2026
6ad4198
went back to know good
dooly123 Jan 10, 2026
dc5145b
good bye meta, we dont need it to use basis with openxr
dooly123 Jan 10, 2026
1c3449b
changed bit packer again, added occlusion baking and clearing based o…
dooly123 Jan 11, 2026
cc4f38d
corrected InteractionLineRenderer width
dooly123 Jan 11, 2026
cdce0f7
more changes
dooly123 Jan 11, 2026
b3266ec
disable debug on sound effect
dooly123 Jan 11, 2026
922fab8
android back building without stripping data
dooly123 Jan 11, 2026
80447d7
added auto increment
dooly123 Jan 11, 2026
01ebbc2
getting ready to test dx12 and fix known bad bugs
dooly123 Jan 12, 2026
81241ee
rolling
dooly123 Jan 12, 2026
587630f
put the old police content system back in
dooly123 Jan 12, 2026
d4ed43a
project settings updated for the last time yay
dooly123 Jan 12, 2026
710fd29
fixed DeInitalize call
dooly123 Jan 13, 2026
9d1a59e
updated a few menus with create new instead of create new entry
dooly123 Jan 13, 2026
12465e4
second attempt
dooly123 Jan 13, 2026
432e3d8
updated save system
dooly123 Jan 14, 2026
333ebcf
changed sorting orders
dooly123 Jan 14, 2026
216e44d
off threaded more of the validation work
dooly123 Jan 14, 2026
8f8f664
mulithreaded more work
dooly123 Jan 14, 2026
0c351d0
working on a few ideas
dooly123 Jan 14, 2026
cf46cf8
hopefully this makes a little difference
dooly123 Jan 14, 2026
0ac09d8
working on quality level cutdown solution
dooly123 Jan 14, 2026
8e29569
more work
dooly123 Jan 14, 2026
e930304
changed payload control
dooly123 Jan 14, 2026
e7d142d
more progress
dooly123 Jan 14, 2026
f6ace49
exported
dooly123 Jan 14, 2026
ef87444
well it actually works -_-
dooly123 Jan 14, 2026
cb36ade
more work
dooly123 Jan 14, 2026
4fdc25c
more work tomorrow
dooly123 Jan 14, 2026
b3ca615
changed sorting order more
dooly123 Jan 14, 2026
de3467a
looks like 1 works
dooly123 Jan 14, 2026
6d0e9c4
client console back working correctly
dooly123 Jan 15, 2026
62489a0
looks good enough
dooly123 Jan 15, 2026
7bba182
still more cleanup todo
dooly123 Jan 15, 2026
41a8216
swapped over to new name
dooly123 Jan 15, 2026
bb58fdc
version updated
dooly123 Jan 15, 2026
3a89211
removed old meta data
dooly123 Jan 15, 2026
ba3fdf1
improved performance of the quality repacker
dooly123 Jan 15, 2026
3ff97b2
correct size mistake
dooly123 Jan 15, 2026
f901e1a
unity updated
dooly123 Jan 16, 2026
82324a5
changed client console logic
dooly123 Jan 16, 2026
c4a1b93
unity can now just import the latest server data
dooly123 Jan 16, 2026
1fa61d4
ready to roll
dooly123 Jan 16, 2026
843ccd5
bundleVersion updated
dooly123 Jan 16, 2026
c3b1886
Merge branch 'developer' into quality-level-for-ik-data
dooly123 Jan 16, 2026
b52401b
fixed up some of the driver interop timings and added filtering to po…
dooly123 Jan 16, 2026
c9047b6
added a clamp warning, will slow down editor performance a little
dooly123 Jan 16, 2026
679cad6
changed how we compute interval time
dooly123 Jan 16, 2026
88d1520
changed how we handle bad time
dooly123 Jan 16, 2026
04c4a9c
made some changes to the quant compressor
dooly123 Jan 16, 2026
6c973de
time to get this all merged
dooly123 Jan 17, 2026
701a1d0
Revert "made some changes to the quant compressor"
dooly123 Jan 17, 2026
bb1e16c
more baked in data
dooly123 Jan 17, 2026
8b6ae15
combined scripts
dooly123 Jan 17, 2026
eaf787f
updated apis
dooly123 Jan 17, 2026
3aeccde
cleaned up scale
dooly123 Jan 17, 2026
5b0e76b
added a compressed version of the quaternion
dooly123 Jan 17, 2026
8bba4aa
halved the jitter
dooly123 Jan 17, 2026
7ab72dc
set some animator data
dooly123 Jan 17, 2026
8a480dd
changing some data
dooly123 Jan 17, 2026
8a6e15f
testing a different way todo this
dooly123 Jan 17, 2026
af023a0
reset, getting close to being done
dooly123 Jan 17, 2026
7639ae1
corrected sizes
dooly123 Jan 17, 2026
458fe94
getting ready to ship
dooly123 Jan 17, 2026
72ddbe4
Quality level for ik data (#497)
dooly123 Jan 17, 2026
4fe001c
change palm correction
dooly123 Jan 18, 2026
cdf7af8
Merge branch 'quality-level-for-ik-data' into developer
dooly123 Jan 18, 2026
aa53596
built android build
dooly123 Jan 18, 2026
d4520fd
working more on timings
dooly123 Jan 18, 2026
6253499
more work
dooly123 Jan 18, 2026
c20f4c0
moving more over
dooly123 Jan 18, 2026
8fdfdee
slowly decouping
dooly123 Jan 18, 2026
accc811
more work
dooly123 Jan 18, 2026
d11e96d
getting ready to compute data in late update aswell seperately
dooly123 Jan 18, 2026
430eebd
further changes
dooly123 Jan 18, 2026
f81f5a6
corrected openvr poses
dooly123 Jan 18, 2026
3011c37
corrected server mode
dooly123 Jan 18, 2026
6f837ec
more work on seperating render and late update
dooly123 Jan 18, 2026
ac84ec1
improved how we handle more ui stuff
dooly123 Jan 18, 2026
c7215b8
more work
dooly123 Jan 18, 2026
c91fa76
changed where we send out the avatar changes
dooly123 Jan 18, 2026
9659d61
stop settings file nukes
dooly123 Jan 18, 2026
3ed8326
updated default avatars
dooly123 Jan 18, 2026
f5ec9e8
right hand fix openvr
dooly123 Jan 18, 2026
655e626
meta data push
dooly123 Jan 18, 2026
d268515
fix for fbik & dsp changes
dooly123 Jan 18, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
4 changes: 2 additions & 2 deletions .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"isRoot": true,
"tools": {
"csharpier": {
"version": "0.30.3",
"version": "1.2.1",
"commands": [
"dotnet-csharpier"
"csharpier"
],
"rollForward": false
}
Expand Down
13 changes: 4 additions & 9 deletions .github/ISSUE_TEMPLATE/1-bug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,13 @@ body:
description: Add media content here to assist with the troubleshooting.
validations:
required: false
- type: input
id: version
- type: textarea
id: buildinfo
attributes:
label: BasisVR Release Version
placeholder: 0.037A (example)
label: Build Info
placeholder: Settings > Developer > Copy Build Info button
validations:
required: true
- type: input
id: headset
attributes:
label: What VR headsets are being used during this issue?
placeholder: None/Desktop Only, Index, Quest Pro?
- type: textarea
id: log-files
attributes:
Expand Down
96 changes: 82 additions & 14 deletions .github/scripts/unitypackagegen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,35 +8,55 @@ PACKAGES="Packages/org.basisvr.generator.equals-3.2.0.tgz:
Packages/org.basisvr.bouncycastle-2.5.0.tgz"
SUBFOLDERS="Packages/com.basis.sdk:
Packages/com.basis.odinserializer:
Packages/UnityJigglePhysics-upm:
Packages/com.basis.bundlemanagement:
Packages/com.basis.server"

EXTRASUBFOLDER=""

EXTRASUBFOLDERS=""
MOREFILES=""


if [[ "$1" == "full" ]]; then

echo "Producing FULL package"

PACKAGES+=":Packages/com.valvesoftware.unity.openvr-1.2.1.tgz"

# Need this for framework (But only framework)
SUBFOLDERS+=":Packages/com.basis.framework:
SUBFOLDERS+=":Packages/com.avionblock.opussharp:
Packages/com.basis.bundlemanagement:
Packages/com.basis.common:
Packages/com.basis.console:
Packages/com.basis.eventdriver:
Packages/com.basis.examples:
Packages/com.basis.framework:
Packages/com.basis.framework.editor:
Packages/com.basis.settingsmanager:
Packages/com.basis.gizmos:
Packages/com.basis.console:
Packages/com.basis.visualtrackers:
Packages/com.basis.addressables:
Packages/com.steam.steamvr:
Packages/com.steam.steamaudio:
Packages/com.naelstrof.jigglephysics:
Packages/com.hecomi.ulipsync:
Packages/com.xiph.rnnoise:
Packages/com.basis.common:
Packages/com.basis.eventdriver:
Packages/com.basis.openvr:
Packages/com.basis.openxr:
Packages/com.basis.bundlemanagement:
Packages/com.basis.profilerintergration:
Packages/com.avionblock.opussharp"
Packages/com.basis.settings:
Packages/com.basis.shim:
Packages/com.cnlohr.cilbox:
Packages/com.cqf.urpvolumetricfog:
Packages/com.hecomi.ulipsync:
Packages/com.steam.steamvr:
Packages/com.steam.steamaudio:
Packages/com.xiph.rnnoise:
Assets/Resources:
Assets/StreamingAssets:
Assets/Plugins:
Assets/AddressableAssetsData:
Assets/XR:
Assets/Basis"

EXTRASUBFOLDERS+="ProjectSettings"

MOREFILES+="Packages/manifest.json:Packages/packages-lock.json"

elif [[ "$1" == "sdk" ]]; then
echo "Producing SDK package"
# All things are already included.
Expand All @@ -45,6 +65,8 @@ else
die
fi

set -e

cd Basis

rm -rf generate_unitypackage
Expand All @@ -65,11 +87,57 @@ echo $SUBFOLDERS | tr : '\n' | while read ddv; do
cp "$FV" generate_unitypackage/$GUID/asset.meta
#GPNAME=$(echo ${ddv:0:${#ddv} - 4} | cut -d/ -f3-)
FONLY=$(echo $FV | rev | cut -d. -f2- | rev)
echo "${FONLY}"
echo "${FONLY}" "${GUID}"
echo "${FONLY}" > generate_unitypackage/$GUID/pathname
done
done

# Tricky trick for exporting projectsettings
echo ${EXTRASUBFOLDERS} | tr : '\n' | while read ddv; do
find $ddv -type f -name "*.asset" -print0 | while read -d $'\0' -r FV ; do
#printf 'File found: %s\n' "$FV"
ASSET=$FV
GUID=$(echo "$FV" | md5sum | cut -d' ' -f1 | cut -b-32 )
mkdir -p generate_unitypackage/$GUID
if [[ -f "$ASSET" ]]; then
#echo "$ASSET" TO generate_unitypackage/$GUID/asset
#echo ASSET COPY cp "$ASSET" generate_unitypackage/$GUID/asset
cp "$ASSET" generate_unitypackage/$GUID/asset
fi

echo "fileFormatVersion: 2" > generate_unitypackage/$GUID/asset.meta
echo "guid: ${GUID}" >> generate_unitypackage/$GUID/asset.meta

#GPNAME=$(echo ${ddv:0:${#ddv} - 4} | cut -d/ -f3-)
FONLY=$(echo $FV | rev | cut -d. -f2- | rev)
echo "${ASSET}" "${GUID}"
echo "${ASSET}" > generate_unitypackage/$GUID/pathname
done
done

echo "Adding extra files: " ${MOREFILES}

echo ${MOREFILES} | tr : '\n' | while read FV ; do
#printf 'File found: %s\n' "$FV"
ASSET=$FV
GUID=$(echo "$FV" | md5sum | cut -d' ' -f1 | cut -b-32 )
mkdir -p generate_unitypackage/$GUID
if [[ -f "$ASSET" ]]; then
#echo "$ASSET" TO generate_unitypackage/$GUID/asset
#echo ASSET COPY cp "$ASSET" generate_unitypackage/$GUID/asset
cp "$ASSET" generate_unitypackage/$GUID/asset
fi

echo "fileFormatVersion: 2" > generate_unitypackage/$GUID/asset.meta
echo "guid: ${GUID}" >> generate_unitypackage/$GUID/asset.meta

#GPNAME=$(echo ${ddv:0:${#ddv} - 4} | cut -d/ -f3-)
FONLY=$(echo $FV | rev | cut -d. -f2- | rev)
echo "${ASSET}" "${GUID}"
echo "${ASSET}" > generate_unitypackage/$GUID/pathname
done


echo "Now, exporting .tgz's"

if [[ ! -z $PACKAGES ]]; then
Expand Down
25 changes: 16 additions & 9 deletions .github/workflows/compilation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,13 @@ jobs:
run: echo "gitversion=$(git describe --tags --always)" >> "$GITHUB_OUTPUT"
- name: "Remove OpenXR when building for Linux"
if: matrix.targetPlatform == 'StandaloneLinux64'
run: jq 'del(.dependencies ["com.meta.xr.sdk.core", "com.unity.xr.openxr"])' < ${projectPath}/Packages/manifest.json > manifest.json.tmp && mv manifest.json.tmp ${projectPath}/Packages/manifest.json
run: jq 'del(.dependencies ["com.unity.xr.openxr"])' < ${projectPath}/Packages/manifest.json > manifest.json.tmp && mv manifest.json.tmp ${projectPath}/Packages/manifest.json
- name: "Remove Meta XR Core when building for Linux"
if: matrix.targetPlatform == 'StandaloneLinux64'
run: rm -rf ${projectPath}/Packages/com.meta.xr.sdk.core
- name: "Build Unity project"
timeout-minutes: 100
uses: game-ci/unity-builder@v4
uses: kitlith/unity-builder@linux-extension
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
Expand All @@ -100,6 +103,7 @@ jobs:
androidKeystorePass: ${{ secrets.ANDROID_KEYSTORE_PASS }}
androidKeyaliasName: ${{ secrets.ANDROID_KEYALIAS_NAME }}
androidKeyaliasPass: ${{ secrets.ANDROID_KEYALIAS_PASS }}
linux64RemoveExecutableExtension: false
- name: "Save Library Cache"
uses: actions/cache/save@v3
if: always() && github.ref_name == 'developer'
Expand Down Expand Up @@ -179,9 +183,12 @@ jobs:
matrix:
projectPath:
- Basis Server
targetPlatform:
- linux
- win
runtimes:
- linux-x64
- linux-musl-x64
- linux-musl-arm64
- linux-arm64
- win-x64
steps:
- name: "Checkout repository"
timeout-minutes: 5
Expand All @@ -195,26 +202,26 @@ jobs:
dotnet-version: "9.0.x"
- name: "Build server"
timeout-minutes: 2
run: "dotnet publish '${{ matrix.projectPath }}' -f net9.0 --self-contained --os ${{ matrix.targetPlatform }} -o build -c Release"
run: "dotnet publish '${{ matrix.projectPath }}' -f net9.0 --self-contained --runtime '${{ matrix.runtimes }}' -o build -c Release"
- name: "Upload server artifact"
timeout-minutes: 2
uses: actions/upload-artifact@v4
with:
name: Basis-Server-${{ matrix.targetPlatform }}
name: Basis-Server-${{ matrix.runtimes }}
path: "build"
- name: Archive Release
uses: thedoctor0/[email protected]
if: github.ref_type == 'tag'
with:
type: "zip"
directory: build
filename: "Basis Server ${{ matrix.targetPlatform }}.zip"
filename: "Basis Server ${{ matrix.runtimes }}.zip"
- name: "Release server zip"
if: github.ref_type == 'tag'
timeout-minutes: 5
uses: "softprops/action-gh-release@v2"
with:
files: build/Basis Server ${{ matrix.targetPlatform }}.zip
files: build/Basis Server ${{ matrix.runtimes }}.zip

compile-unitypackages:
name: Build .unitypackage files
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
# Gradle cache directory
.gradle/

# Oculus
*.exe.meta

# Vim
*.swp
*.swo
Expand Down
24 changes: 22 additions & 2 deletions Basis Server/Basis Server.sln
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
# Visual Studio Version 18
VisualStudioVersion = 18.2.11408.102 d18.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Basis Server", "Basis Server", "{153BDCB8-6E62-4BB4-A8FD-DD4B6A8FB0AE}"
EndProject
Expand Down Expand Up @@ -37,6 +37,12 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Common", "Contrib\Handles\C
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BasisNetworkClientConsole", "BasisNetworkClientConsole\BasisNetworkClientConsole\BasisNetworkClientConsole.csproj", "{8A2A6D2C-250D-08A6-D899-F79F03468658}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PersistentKv", "Contrib\PersistentKv\PersistentKv\PersistentKv.csproj", "{102E1760-EED6-1AC1-20BE-4878DC991C2E}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PersistentKv.Tests", "Contrib\PersistentKv\PersistentKv.Tests\PersistentKv.Tests.csproj", "{E487A791-718A-7A40-052A-F010BDF16740}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "PersistentKv", "PersistentKv", "{02EA681E-C7D8-13C7-8484-4AC65E1B71E8}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -95,6 +101,14 @@ Global
{8A2A6D2C-250D-08A6-D899-F79F03468658}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8A2A6D2C-250D-08A6-D899-F79F03468658}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8A2A6D2C-250D-08A6-D899-F79F03468658}.Release|Any CPU.Build.0 = Release|Any CPU
{102E1760-EED6-1AC1-20BE-4878DC991C2E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{102E1760-EED6-1AC1-20BE-4878DC991C2E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{102E1760-EED6-1AC1-20BE-4878DC991C2E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{102E1760-EED6-1AC1-20BE-4878DC991C2E}.Release|Any CPU.Build.0 = Release|Any CPU
{E487A791-718A-7A40-052A-F010BDF16740}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E487A791-718A-7A40-052A-F010BDF16740}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E487A791-718A-7A40-052A-F010BDF16740}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E487A791-718A-7A40-052A-F010BDF16740}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand All @@ -116,5 +130,11 @@ Global
{2C19D6AB-5A44-43DF-958D-EA20B0051711} = {26746063-DA31-4124-BD82-035D248DD0EB}
{F3A336BB-330D-4C3B-9B75-C36802DC4162} = {2EC38097-9623-48A5-96C6-9778D04DDF5C}
{8A2A6D2C-250D-08A6-D899-F79F03468658} = {153BDCB8-6E62-4BB4-A8FD-DD4B6A8FB0AE}
{102E1760-EED6-1AC1-20BE-4878DC991C2E} = {02EA681E-C7D8-13C7-8484-4AC65E1B71E8}
{E487A791-718A-7A40-052A-F010BDF16740} = {02EA681E-C7D8-13C7-8484-4AC65E1B71E8}
{02EA681E-C7D8-13C7-8484-4AC65E1B71E8} = {2EC38097-9623-48A5-96C6-9778D04DDF5C}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {81BA222A-92A3-4089-907D-3CB8EF40BC2D}
EndGlobalSection
EndGlobal
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
using Basis.Contrib.Auth.DecentralizedIds;
using Basis.Contrib.Auth.DecentralizedIds.Newtypes;
using Basis.Contrib.Crypto;
using LiteNetLib;
using LiteNetLib.Utils;
using Basis.Network.Core;
#if UNITY_2017_1_OR_NEWER
using UnityEngine;
#endif
Expand Down
23 changes: 3 additions & 20 deletions Basis Server/BasisNetworkClient/NetworkClient.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using Basis.Network.Core;
using LiteNetLib;
using LiteNetLib.Utils;

using static Basis.Network.Core.Serializable.SerializableBasis;
using static SerializableBasis;
public class NetworkClient
Expand All @@ -15,28 +14,12 @@ public class NetworkClient
/// <param name="IP"></param>
/// <param name="port"></param>
/// <param name="ReadyMessage"></param>
public NetPeer StartClient(string IP, int port, ReadyMessage ReadyMessage, byte[] AuthenticationMessage, bool UseNativeSockets = false)
public NetPeer StartClient(string IP, int port, ReadyMessage ReadyMessage, byte[] AuthenticationMessage, Configuration Configuration)
{
if (IsInUse == false)
{
listener = new EventBasedNetListener();
client = new NetManager(listener)
{
AutoRecycle = false,
UnconnectedMessagesEnabled = false,
NatPunchEnabled = true,
AllowPeerAddressChange = true,
BroadcastReceiveEnabled = false,
UseNativeSockets = UseNativeSockets,//unity does not work with this
ChannelsCount = BasisNetworkCommons.TotalChannels,
EnableStatistics = true,
UpdateTime = BasisNetworkCommons.NetworkIntervalPoll,
PingInterval = BasisNetworkCommons.PingInterval,
UnsyncedEvents = true,
ReceivePollingTime = BasisNetworkCommons.ReceivePollingTime,
PacketPoolSize = BasisNetworkCommons.PacketPoolSize,

};
client = new LNLNetManager(listener, Configuration);
client.Start();
NetDataWriter Writer = new NetDataWriter(true,12);
//this is the only time we dont put key!
Expand Down
Loading
Loading