# Segfault when using SetLookAtWeight \[solved\]

**URL:** https://discussions.unity.com/t/segfault-when-using-setlookatweight-solved/649188
**Category:** Desktop
**Tags:** Linux, Bug
**Created:** [December 16, 2016, 2:21am UTC](https://discussions.unity.com/t/segfault-when-using-setlookatweight-solved/649188 "2016-12-16T02:21:34Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![potz\_n\_panz](https://avatars.discourse-cdn.com/v4/letter/p/9f8e36/32.png) [@potz\_n\_panz](https://discussions.unity.com/u/potz_n_panz)
#### Post date: [December 16, 2016, 2:21am UTC](https://discussions.unity.com/t/segfault-when-using-setlookatweight-solved/649188/1 "2016-12-16T02:21:34Z")

</div>

**well, I feel like an idiot.**  
**it was an error on my part, from this bit of code:**

public Animator Animator{  
get{ return this.Animator; }  
}

**this.Animator was supposed to be this.animator.**  
**I’m stupid 😕 this can be closed**

* * *

when I make a call to SetLookAtWeight, Unity Crashes.

The relevant parts of the crash report would be:

## ProblemType: Crash Architecture: amd64 CurrentDesktop: Unity Date: Thu Dec 15 17:18:50 2016 DistroRelease: Ubuntu 16.04 ExecutablePath: /opt/Unity/Editor/Unity ExecutableTimestamp: 1480093875 ProcCmdline: /opt/Unity/Editor/Unity -no-throttle-updates ProcCwd: /home/dave/Documents/unity\_game\_dev/Third Person ProcEnviron: TERM=xterm-256color SHELL=/bin/bash PATH=(custom, user) LANG=en\_US.UTF-8 LANGUAGE=en\_US XDG\_RUNTIME\_DIR=

ProcStatus:  
Name: Unity  
State: S (sleeping)  
Tgid: 3138  
Ngid: 0  
Pid: 3138  
PPid: 3137  
TracerPid: 0  
Uid: 1000 1000 1000 1000  
Gid: 1000 1000 1000 1000  
FDSize: 256  
Groups: 4 24 27 30 46 113 128 1000  
NStgid: 3138  
NSpid: 3138  
NSpgid: 3137  
NSsid: 2988  
VmPeak: 2515268 kB  
VmSize: 2515268 kB  
VmLck: 0 kB  
VmPin: 0 kB  
VmHWM: 362668 kB  
VmRSS: 362668 kB  
VmData: 1593912 kB  
VmStk: 8196 kB  
VmExe: 68768 kB  
VmLib: 216076 kB  
VmPTE: 2184 kB  
VmPMD: 60 kB  
VmSwap: 0 kB  
HugetlbPages: 0 kB  
Threads: 106  
SigQ: 0/31340  
SigPnd: 0000000000000000  
ShdPnd: 0000000000000000  
SigBlk: 0000000000000000  
SigIgn: 0000000000001000  
SigCgt: 00000005a08000ec  
CapInh: 0000000000000000  
CapPrm: 0000000000000000  
CapEff: 0000000000000000  
CapBnd: 0000003fffffffff  
CapAmb: 0000000000000000  
Seccomp: 0  
Cpus\_allowed: ff  
Cpus\_allowed\_list: 0-7  
Mems\_allowed: 00000000,00000001  
Mems\_allowed\_list: 0  
voluntary\_ctxt\_switches: 10740  
nonvoluntary\_ctxt\_switches: 4722  
Signal: 11  
Uname: Linux 4.4.0-31-generic x86\_64  
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

* * *

Core was generated by `/opt/Unity/Editor/Unity -no-throttle-updates’.  
Program terminated with signal SIGSEGV, Segmentation fault.  
#0 0x0000000040eba7ec in ?? ()  
[Current thread is 1 (Thread 0x7fd8e3c81a80 (LWP 3138))]

(gdb) where  
#0 0x0000000040eba7ec in ?? ()  
#1 0x0000000000000000 in ?? ()  
(gdb) q

---

<div class="post-metadata">

### Author: ![Tak](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/tak/32/44150_2.png) [@Tak](https://discussions.unity.com/u/Tak)
#### Post date: [December 16, 2016, 11:23am UTC](https://discussions.unity.com/t/segfault-when-using-setlookatweight-solved/649188/2 "2016-12-16T11:23:31Z")

</div>

When Unity crashes, will you file a bug report using the bug reporter that appears, and post the case number here?

---

<div class="post-metadata">

### Author: ![potz\_n\_panz](https://avatars.discourse-cdn.com/v4/letter/p/9f8e36/32.png) [@potz\_n\_panz](https://discussions.unity.com/u/potz_n_panz)
#### Post date: [December 16, 2016, 8:51pm UTC](https://discussions.unity.com/t/segfault-when-using-setlookatweight-solved/649188/3 "2016-12-16T20:51:46Z")

</div>

Case 862198
