Skip to content

Instantly share code, notes, and snippets.

NullReferenceException
at (wrapper managed-to-native) UnityEngine.GameObject:get_transform ()
at Before.PlayerController.StartBuildingPlacement (Before.Buildings.BuildingSettings building_settings) [0x000f8] in C:\Jenkins\workspace\Before\Before\Assets\Scripts\Player\Controller\PlayerController+Buildings.cs:140
at Before.UI.UnitCommandsWidget+<OnCategorySelected>c__AnonStorey4.<>m__0 (ICommand cmd) [0x00011] in C:\Jenkins\workspace\Before\Before\Assets\Scripts\UI\Widgets\Game\UnitCommandsWidget.cs:211
at Before.Command.Invoke () [0x00013] in C:\Jenkins\workspace\Before\Before\Assets\Scripts\Player\Controller\Commands\Command.cs:19
at Before.UI.CommandButton.OnButtonClicked () [0x00012] in C:\Jenkins\workspace\Before\Before\Assets\Scripts\UI\Utility\CommandButton.cs:39
at UnityEngine.Events.InvokableCall.Invoke (System.Object[] args) [0x00017] in C:\buildslave\unity\build\Runtime\Export\UnityEvent.cs:154
at UnityEngine.Events.InvokableCallList.Invoke (System.Object[] parameters) [0x00056] in
// ==UserScript==
// @name RohBot Color Randomizer
// @version 0.1
// @description try to take over the world!
// @author Rohansi
// @match https://rohbot.net/
// @grant GM_addStyle
// @require https://raw.githubusercontent.com/garycourt/murmurhash-js/0197ce38bedac0e05f40b9d7152095d06db8292c/murmurhash3_gc.js
// ==/UserScript==
// ==UserScript==
// @name RohBot FILTERED
// @version 0.5
// @description enter something useful
// @author Rohansi
// @match https://rohbot.net/
// @grant none
// ==/UserScript==
var storageKey = "filtered-patterns2";
using System;
using System.Runtime.Loader;
using System.Reflection;
class CustomLoadContext : AssemblyLoadContext
{
protected override Assembly Load(AssemblyName assemblyName)
{
Console.WriteLine("loading {0}", assemblyName.Name);
return LoadFromAssemblyPath(string.Format(@"E:\Desktop\test-corerun\program\{0}.dll", assemblyName.Name));
Assert failure(PID 9096 [0x00002388], Thread: 4672 [0x1240]): thread->PreemptiveGCDisabled()
CORECLR! Thread::ObjectRefFlush + 0x42 (0x00007ffc`15e96172)
CORECLR! PreStubWorker + 0x7F (0x00007ffc`15fe9f5f)
CORECLR! ThePreStub + 0x55 (0x00007ffc`16308195)
CORECLR! BINDER_SPACE::Assembly::GetBinderID + 0x49 (0x00007ffc`16ade639)
CORECLR! AreSameBinderInstance + 0x51 (0x00007ffc`1619fe41)
CORECLR! BaseAssemblySpec::CompareEx + 0x2B2 (0x00007ffc`15f92f62)
CORECLR! AppDomain::NativeImageDependenciesTraits::Equals + 0x28 (0x00007ffc`16045f18)
CORECLR! SHash<AppDomain::NativeImageDependenciesTraits>::Lookup + 0x411 (0x00007ffc`160617e1)
html {
background-image: url('bg.jpg');
}

Keybase proof

I hereby claim:

  • I am Rohansi on github.
  • I am rohans (https://keybase.io/rohans) on keybase.
  • I have a public key whose fingerprint is ECDC 7FCF 79BC 4069 EC8A 73F5 163E 64C7 8EAD 30A3

To claim this, I am signing this object:

.namespace BoxTest
{
.class interface public auto ansi abstract BoxTest.IEnumerable`2<T, TEnumerator>
implements class [mscorlib]System.Collections.Generic.IEnumerable`1<!T>,
[mscorlib]System.Collections.IEnumerable
{
// Methods
.method public hidebysig newslot abstract virtual
instance !TEnumerator GetEnumerator () cil managed
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Reflection.Emit;
namespace ConsoleApplication1
{
class Program
using System;
using System.Collections.Generic;
using System.Net;
using System.Threading;
using System.Threading.Tasks;
namespace taskschedule
{
class Program
{