unity garbage, music list, text creatures

This commit is contained in:
Crispy 2024-08-03 22:04:53 +02:00
parent d424a35f33
commit 01b7f71735
14 changed files with 367 additions and 9 deletions

View file

@ -12,6 +12,9 @@
<body>
<main>
<p>
<code>2024-07-18</code><br>
</p>
<p>
I go for a walk to explore the nearby forest. I am lucky to be living so near nature, in a small swedish city.<br>
</p>
<p>

View file

@ -0,0 +1,19 @@
#! /bin/bash
# place in 2021.3.41f1/Editor/Data/bee_backend
# (or whatever version you have)
# rename the original bee_backend to bee_backend_real
# thank you neamtim https://discussions.unity.com/t/linux-editor-stuck-on-loading-because-of-bee_backend-w-workaround/854480
# (i don't trust unity threads to continue existing)
args=("$@")
for ((i=0; i<"${#args[@]}"; ++i))
do
case ${args[i]} in
--stdin-canary)
unset args[i];
break;;
esac
done
${0}_real "${args[@]}"

View file

@ -0,0 +1,91 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>something silly - unity-on-linux</title>
<link rel="stylesheet" href="/style.css">
<link rel="icon" type="image/x-icon" href="/creacher.png">
</head>
<body>
<main>
<h1 id="unity-on-linux">unity on linux</h1>
<p>
<code>2024-08-03</code><br>
It's terrible. Sometimes it works, sometimes not.<br>
</p>
<p>
I got a flash of inspiration to make some shader art for ChilloutVR. I have done this a bunch before, but not in almost a year now. I found out why.<br>
</p>
<p>
Unity <code>2021.3.23f1</code> is the recommended version for the ChilloutVR <a href="http://documentation.abinteractive.net/cck/setup/">CCK (Content Creation Kit)</a>, so that's what I tried to use. It was getting about halfway through the asset loading before just freezing until I killed it. Looking in the logs revealed that the last thing it did was call <code>bee_backend</code><br>
</p>
<p>
I found <a href="https://discussions.unity.com/t/linux-editor-stuck-on-loading-because-of-bee_backend-w-workaround/854480">this forum post</a> with the exact same issue and a workaround! This is quite rare. I added <a href="./bee_backend_workaround.txt">the script</a> as instructed and the issue <em>changed</em>, wohoo...<br>
</p>
<p>
It was still crashing every time, but now because of a segmentation fault (SIGSEGV).<br>
<em>Sometimes</em> it would produce a stack trace after, saying that the editor died while trying to change graphics tier.<br>
</p>
<pre>
Caught fatal signal - signo:11 code:1 errno:0 addr:(nil)
Obtained 6 stack frames.
#0 0x007afe7cd5d1d0 in __sigaction
#1 0x0059982af74663 in OnGraphicsTierSwitched()
#2 0x0059982bd49070 in ApplyBuildTargetSwitchInternal(BuildTargetPlatformGroup, BuildTargetPlatform, int)
#3 0x0059982bd4844b in SwitchActiveBuildTargetForEmulation(BuildTargetPlatformGroup, BuildTargetPlatform, int, bool, bool)
#4 0x005998296f6a73 in EditorUserBuildSettings_CUSTOM_SwitchActiveBuildTargetAndSubtarget(BuildTargetPlatformGroup, BuildTargetPlatform, int)
#5 0x00000041703f61 in (wrapper managed-to-native) UnityEditor.EditorUserBuildSettings:SwitchActiveBuildTargetAndSubtarget (UnityEditor.BuildTargetGroup,UnityEditor.BuildTarget,int)
Launching bug reporter
</pre>
<p>
(the bug reporter did not launch most of the time)<br>
</p>
<p>
So I updated unity to <code>2021.3.<strong>41</strong>f1</code>, since it's LTS it should still be compatible with the CCK.<br>
I had to apply the bee_backend fix again<br>
The only change was that the stack traces were deeper, revealing the real source of the issue:<br>
</p>
<pre>
Obtained 12 stack frames.
#0 0x007e9b1f75d1d0 in __sigaction
#1 0x0059b44681c233 in OnGraphicsTierSwitched()
#2 0x0059b4474b29f0 in ApplyBuildTargetSwitchInternal(BuildTargetPlatformGroup, BuildTargetPlatform, int)
#3 0x0059b4474b1dcb in SwitchActiveBuildTargetForEmulation(BuildTargetPlatformGroup, BuildTargetPlatform, int, bool, bool)
#4 0x0059b444e61693 in EditorUserBuildSettings_CUSTOM_SwitchActiveBuildTargetAndSubtarget(BuildTargetPlatformGroup, BuildTargetPlatform, int)
#5 0x000000414635f0 in (wrapper managed-to-native) UnityEditor.EditorUserBuildSettings:SwitchActiveBuildTargetAndSubtarget (UnityEditor.BuildTargetGroup,UnityEditor.BuildTarget,int)
#6 0x00000041463407 in UnityEditor.EditorUserBuildSettings:SwitchActiveBuildTarget (UnityEditor.BuildTargetGroup,UnityEditor.BuildTarget)
#7 0x0000004145d96f in CCK_Init:.cctor ()
#8 0x0000004145dc7e in (wrapper runtime-invoke) object:runtime_invoke_void (object,intptr,intptr,intptr)
#9 0x0000004116eef5 in (wrapper managed-to-native) System.Runtime.CompilerServices.RuntimeHelpers:RunClassConstructor (intptr)
#10 0x0000004116ee47 in System.Runtime.CompilerServices.RuntimeHelpers:RunClassConstructor (System.RuntimeTypeHandle)
#11 0x0000004116e753 in UnityEditor.EditorAssemblies:ProcessInitializeOnLoadAttributes (System.Type[])
#12 0x00000041128805 in (wrapper runtime-invoke) <Module>:runtime_invoke_void_object (object,intptr,intptr,intptr)
Launching bug reporter
</pre>
<p>
<code>CCK_Init:.cctor ()</code>, the CCK init constructor.<br>
</p>
<p>
That's just a c# script. I can edit those.<br>
I deleted the whole constructor, and now unity launches, incredible.<br>
Obviously it is there for a reason though, but luckily there was a much newer version of the CCK (<code>3.10</code> instead of <code>3.5</code>), and after installing that, the editor still seems to be working correctly.<br>
</p>
<p>
I wasted like an hour fixing this, and my inspiration is long gone, but at least I can make something next time.<br>
</p>
<p>
The reason I hadn't done anything since september was that i had to update to unity 2021 from unity 2019, and it didn't work on linux. I did some stuff in my windows VM but ultimately it's too annoying to work in so it put me off content creation until now.<br>
</p>
<p>
Even though chillout caused the crash, I'm pretty sure this is unity's fault. The linux editor has always been flaky and I feel like a user c# script shouldn't cause segfaults in the editor that easily.<br>
</p>
<p>
<a href="/">back home</a><br>
</main>
</body>
</html>

View file

@ -4,14 +4,14 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>something silly - internets</title>
<title>something silly - bookmarks</title>
<link rel="stylesheet" href="/style.css">
<link rel="icon" type="image/x-icon" href="/creacher.png">
</head>
<body>
<main>
<h1 id="internets">internets</h1>
<h1 id="bookmarks">bookmarks</h1>
<p>
cool pages by other people<br>
- <a href="https://100r.co/site/home.html">Hundred Rabbits</a><br>
@ -30,6 +30,7 @@ cool pages by other people<br>
</p>
<h2 id="be-angry">be angry</h2>
<p>
- <a href="https://thewebisfucked.com/">The Web Is Fucked</a><br>
- <a href="http://brandalism.ch/">Brandalism</a><br>
- <a href="https://efmechanicsguild.wordpress.com/">Earth First! Mechanic's Guild</a><br>
- <a href="https://dessalines.github.io/essays/capitalism_doesnt_work.html">Capitalism fucking sucks</a><br>

View file

@ -26,6 +26,8 @@ this means it is<br>
</p>
<h2 id="content">"content"</h2>
<p>
- <a href="/awful_software/unity-on-linux">unity on linux sucks</a><br>
- <a href="/pets">pets</a><br>
- <a href="/apocalypse/dead-trees">dead trees</a><br>
- <a href="/horological-crimes">horological crimes</a><br>
- <a href="/cellthing">snad (cell thing)</a><br>
@ -36,16 +38,17 @@ this means it is<br>
- todo: put more words in the computer<br>
</p>
<p>
<a href="/my-other-stuff">me elsewhere</a> | <a href="/internets">bookmarks</a> | <a href="/photos">photos</a><br>
<a href="/my-other-stuff">me elsewhere</a> | <a href="/photos">photos</a><br>
<a href="/bookmarks">bookmarks</a> | <a href="/music">music</a><br>
</p>
<p>
<div class="flags">
<div id="pan"></div><br>
<div id="enby"></div><br>
<div id="trans"></div><br>
<div id="pride"></div><br>
<div id="lesbian"></div><br>
</div><a rel="me" href="https://cathode.church/@crispy"></a>
</div>
<a rel="me" href="https://cathode.church/@crispy"></a>
</main>
</body>

85
site/music.html Normal file
View file

@ -0,0 +1,85 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>something silly - music</title>
<link rel="stylesheet" href="/style.css">
<link rel="icon" type="image/x-icon" href="/creacher.png">
</head>
<body>
<main>
<h1 id="music">music</h1>
<p>
I like a lot of music. I kind of have a problem keeping track of it, I follow over 800 artists on spotify.<br>
</p>
<h2 id="vocaloid">vocaloid</h2>
<p>
<a href="https://www.youtube.com/@Steampianist/videos">Steampianist</a>, they have great lyrics too, i especially like <a href="https://www.youtube.com/watch?v=nj_YTleCWqw">Dream Eating Machine</a><br>
<a href="https://www.youtube.com/@inabakumori/videos">INABAKUMORI</a> fairly popular and great upbeat songs<br>
<a href="https://www.youtube.com/@ghostandpals/videos">Ghost and Pals</a>, especially <a href="https://www.youtube.com/watch?v=xHffjNbWmig">Honey I'm home</a><br>
<a href="https://www.youtube.com/@CrusherP/videos">Crusher-P</a>, playing <a href="https://www.youtube.com/watch?v=cQKGUgOfD8U">Echo</a> <a href="https://www.youtube.com/watch?v=7iu2Bo8jr2Y">in beat saber</a> is what got me into vocaloid to begin with<br>
</p>
<h2 id="post-rock">post rock</h2>
<p>
U137<br>
I Am Waiting for You Last Summer<br>
The Echelon Effect<br>
Mooncake<br>
Moonlit Sailor<br>
Whale Fall<br>
Release The Long Ships<br>
</p>
<h2 id="video-games">video games</h2>
<p>
c418<br>
lena raine<br>
</p>
<h2 id="mashup">mashup</h2>
<p>
I have a <a href="https://www.youtube.com/playlist?list=PLbzqtzUk0w8hciwO_ihmHjVF_r1chvfSB">playlist of my favourite mashup albums</a><br>
STARSEER<br>
jazzwave<br>
Danny Greyiers<br>
</p>
<h2 id="dark">dark</h2>
<p>
Sabled Sun and their albums 2145 through 2150<br>
2 8 1 4<br>
</p>
<h2 id="uncategorised-for-now">uncategorised for now</h2>
<p>
Tally Hall<br>
Thomas Barrandon<br>
Krusseldorf<br>
Artism<br>
LORN<br>
Oxart<br>
Worakls<br>
Faux Tales<br>
Wojciech Golchzewski<br>
Death & Rebirth<br>
</p>
<p>
Poppy<br>
Girl in red<br>
Zeph<br>
mehro<br>
metric<br>
cave town<br>
</p>
<p>
-<br>
</p>
<p>
and 800 others that i vaguely or not at all remember<br>
</p>
<p>
<a href="/">home</a><br>
</main>
</body>
</html>

26
site/pets.html Normal file
View file

@ -0,0 +1,26 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>something silly - pets</title>
<link rel="stylesheet" href="/style.css">
<link rel="icon" type="image/x-icon" href="/creacher.png">
</head>
<body>
<main>
<p>
ᓚᘏᗢ<br>
ᘛ⁠⁐̤⁠ᕐ⁠ᐷ<br>
cm"><br>
</p>
<p>
cat, mouse, kijetesantakalu<br>
they are friends :3<br>
</main>
</body>
</html>